Skip to main content

PlanCard

A pricing / plan card with feature list and CTA. @startingPoint section="Cards" subtitle="Pricing plan card with features & CTA" viewport="340x420"

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

A pricing / plan card with feature list and CTA.

Accessibility​

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

Install and import​

npx shadcn@latest add @prism/plan-card
import { PlanCard } from '@/components/prism/PlanCard';

In a no-build prototype, read it from the bundle instead: const { PlanCard } = window.PrismDesignSystem_39d121;

Props​

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