Plan Cards
A pricing row: plan columns divided by hairlines, a ribbon on the featured plan, and a switch between personal and team pricing with seat counts and a discount.
pixikit.com/docs/components/plan-cards
Customize
Default team
Show toggle
Default seats5
Team discount20%
Price animation
Width1440px
Min column width240px
Min height609px
Price size37px
Ribbon
Ribbon color
Dots
Dot size3px
Line color
Background color
Text color
Muted color
Accent color
Props
28| Name | Type | Default | Description |
|---|---|---|---|
plans | PlanCardsPlan[] | SAMPLE | The plans, one column each. Four sample plans show when left out. |
heading | string | "Choose a plan" | Heading beside the switches. |
audiences | string[] | ["Personal", "Team"] | Labels of the two modes: single buyer, then team. |
defaultTeam | boolean | false | Starts in team mode. |
showToggle | boolean | true | Shows the mode switch. |
seatOptions | number[] | [5, 10, 20] | Seat counts offered in team mode. |
defaultSeats | number | 5 | Seat count chosen at first. |
teamDiscount | number | 20 | Percent taken off team prices. |
seatNoun | string | "designers" | Word after the seat count in the team tagline. |
currency | string | "$" | Currency sign before prices. |
featuresLabel | string | "Features" | Heading above each feature list. |
priceAnimation | "none" | "count" | "none" | `count` rolls the number when the price changes, `none` swaps it. |
width | number | 1440 | Widest the section grows, in px. |
minColumnWidth | number | 240 | Narrowest a plan column may get before the row wraps, in px. |
minHeight | number | 609 | Smallest height of a plan column, in px. |
priceSize | number | 37 | Price size, in px. |
ribbon | boolean | true | Shows the ribbon on featured plans. |
ribbonColor | string | "var(--foreground)" | Ribbon colour. |
dots | boolean | true | Small dots where the lines meet. |
dotSize | number | 3 | Dot size, in px. |
lineColor | string | "var(--border)" | Line colour. |
backgroundColor | string | "var(--background)" | Column fill. |
textColor | string | "var(--foreground)" | Text colour. |
mutedColor | string | "var(--muted-foreground)" | Colour of taglines, descriptions and periods. |
accentColor | string | "#16a34a" | Colour of the discount tag and the feature ticks. |
onSelect | (plan: string) => void | None | Called with the plan name when its button is clicked. |
className | string | "" | |
style | CSSProperties | None |