Skip to main content

PlanCard

PlanCard — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

PlanCard — Prism component.

Accessibility

When the whole card is actionable, expose a single accessible name and make it reachable with Tab + Enter. Decorative imagery uses empty alt.

Import

const { PlanCard } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
nameReact.ReactNodeYes
priceReact.ReactNodeYesThe price amount, e.g. "€29".
periodReact.ReactNodePeriod suffix, e.g. "/mo". Default "/mo".
descriptionReact.ReactNode
featuresReact.ReactNode[]Feature lines, each gets a check.
ctaReact.ReactNodeCall-to-action node (a Button).
featuredbooleanHighlight as the recommended plan.
flagReact.ReactNodeRibbon label when featured. Default "Most popular".
classNamestring