Skip to content
PixiKit

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
NameTypeDefaultDescription
plansPlanCardsPlan[]SAMPLEThe plans, one column each. Four sample plans show when left out.
headingstring"Choose a plan"Heading beside the switches.
audiencesstring[]["Personal", "Team"]Labels of the two modes: single buyer, then team.
defaultTeambooleanfalseStarts in team mode.
showTogglebooleantrueShows the mode switch.
seatOptionsnumber[][5, 10, 20]Seat counts offered in team mode.
defaultSeatsnumber5Seat count chosen at first.
teamDiscountnumber20Percent taken off team prices.
seatNounstring"designers"Word after the seat count in the team tagline.
currencystring"$"Currency sign before prices.
featuresLabelstring"Features"Heading above each feature list.
priceAnimation"none" | "count""none"`count` rolls the number when the price changes, `none` swaps it.
widthnumber1440Widest the section grows, in px.
minColumnWidthnumber240Narrowest a plan column may get before the row wraps, in px.
minHeightnumber609Smallest height of a plan column, in px.
priceSizenumber37Price size, in px.
ribbonbooleantrueShows the ribbon on featured plans.
ribbonColorstring"var(--foreground)"Ribbon colour.
dotsbooleantrueSmall dots where the lines meet.
dotSizenumber3Dot size, in px.
lineColorstring"var(--border)"Line colour.
backgroundColorstring"var(--background)"Column fill.
textColorstring"var(--foreground)"Text colour.
mutedColorstring"var(--muted-foreground)"Colour of taglines, descriptions and periods.
accentColorstring"#16a34a"Colour of the discount tag and the feature ticks.
onSelect(plan: string) => voidNoneCalled with the plan name when its button is clicked.
classNamestring""
styleCSSPropertiesNone

Related