One offer on a plain hairline card, with an optional drawn pattern. Pick zigzag, diagonal stripes, grid or dots and it fills the card around a solid panel, sits in a header band, or frames it, and drifts when the card comes into view and while you hover it. Text always sits on the solid panel, so it stays readable on any pattern.
Examples
Opt in to a pattern
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- name / description / badge
string- The badge sits on the pattern, on its own solid chip.
- price
{ amount, per?, was?, note? }|Record<billing, …>- One price, or one per billing option. Numbers animate when the billing changes; text like Custom shows as is.
- billing
{ options, value?, defaultValue?, onValueChange? }- A small switch above the price, with optional badges such as -20%.
- features / cta / footnote
ReactNode[] / { label, href?, onClick? } / ReactNode- Keep features to about four; the plans grid is for longer lists.
- pattern
"zigzag"|"stripes"|"grid"|"dots"- Default
"zigzag" - An SVG tile used as a mask, so its colour follows the theme.
- layout
"plain"|"full"|"band"|"frame"- Default
"plain" - A plain hairline card, or a pattern around a solid panel, in a header band, or as a border frame.
- tone
"plain"|"accent"|"inverted"- Default
"plain" - The pattern's ground. The panel with the text stays the card colour.
- accent / accentForeground
string- Default
var(--primary) / var(--primary-foreground) - Accent ground and the colour its pattern is tinted from.
- motion / speed
"hover"|"always"|"none" / number- Default
"hover" / 3 - Drift on enter and while hovered, a slow loop, or still. Seconds per tile. Stops offscreen; still with reduced motion.
| Prop | Type | Default | Description |
|---|---|---|---|
| name / description / badge | string | - | The badge sits on the pattern, on its own solid chip. |
| price | { amount, per?, was?, note? } | Record<billing, …> | - | One price, or one per billing option. Numbers animate when the billing changes; text like Custom shows as is. |
| billing | { options, value?, defaultValue?, onValueChange? } | - | A small switch above the price, with optional badges such as -20%. |
| features / cta / footnote | ReactNode[] / { label, href?, onClick? } / ReactNode | - | Keep features to about four; the plans grid is for longer lists. |
| pattern | "zigzag" | "stripes" | "grid" | "dots" | "zigzag" | An SVG tile used as a mask, so its colour follows the theme. |
| layout | "plain" | "full" | "band" | "frame" | "plain" | A plain hairline card, or a pattern around a solid panel, in a header band, or as a border frame. |
| tone | "plain" | "accent" | "inverted" | "plain" | The pattern's ground. The panel with the text stays the card colour. |
| accent / accentForeground | string | var(--primary) / var(--primary-foreground) | Accent ground and the colour its pattern is tinted from. |
| motion / speed | "hover" | "always" | "none" / number | "hover" / 3 | Drift on enter and while hovered, a slow loop, or still. Seconds per tile. Stops offscreen; still with reduced motion. |
For two to four plans side by side, use Pricing. This card is for one offer you want to stand out: a launch price, the lifetime deal, the plan most people pick.
When to use
When to use
- One offer that should stand out on its own: a launch price, a lifetime deal, the plan most people pick.
- A pricing teaser inside a landing page section, next to a short pitch or testimonial.
- A single plan with a monthly and yearly switch, where the price change is worth showing.
When not to use
- Two to four plans side by side: use Pricing.
- Long feature lists: keep it to about four lines and link to a full comparison for the rest.
- Several patterned cards on one page: one pattern per view keeps it calm.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Pricing Card to my app and wire it to my own data.
- I need one offer that should stand out on its own: a launch price, a lifetime deal, the plan most people pick. Set that up with the Knowns UI Pricing Card.
- Which Pricing Card props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "pricing-card" }) and search_docs({ query: "pricing card" }). Pro props, full examples and source come back once your license key is in the MCP config.