Velocity X Components

Cards & Expandables

Pricing Reveal Card

Pricing tier card that expands in place into a full feature-by-feature comparison table, so shoppers can go deep on one plan without leaving the card or jumping to a separate comparison page.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add pricing-reveal-card

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Pricing Reveal Card →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Pricing Reveal Card
Most popular

GROWTH

$49/mo

For teams scaling past the basics.

Choose plan
  • Unlimited projects
  • Priority support
  • Team seats
Projects
Unlimited
Team seats
SSO

Props

NameTypeRequiredDefaultDescription
eyebrowstringYese.g. "GROWTH"
pricestringYese.g. "$49"
periodstringNo'/mo'e.g. "/mo"
descriptionstringYes
featuresstring[]No[]headline bullets, always visible
compareRows{ label: string, value: boolean | string }[]No[]
ctaLabelstringNo'Choose plan'
ctaHrefstringNo'#'
featuredbooleanNofalsehighlights the card as the recommended tier
badgestringNo'Most popular'small pill shown when featured (e.g. "Most popular")
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/pricing-reveal-card/PricingRevealCard.jsx

Using the Pricing Reveal Card component

Install it with velocityx add pricing-reveal-card. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Cards & Expandables.