Special/PricingTable

PricingTable

Animated pricing comparison table with monthly/annual billing toggle, feature rows with check/dash indicators, a highlighted "popular" plan, and animated price transitions.

import { PricingTable } from "@animui/ui"

Full example

MonthlyAnnualSave 20%

Starter

For personal projects

$
0
/mo
  • 3 projects
  • 1 member
  • Priority support
  • SSO / SAML
  • Audit logs
Most popular

Pro

For teams and startups

$
29
/mo
  • Unlimited
  • Up to 20
  • Priority support
  • SSO / SAML
  • Audit logs

Enterprise

For large organizations

$
99
/mo
  • Unlimited
  • Unlimited
  • Priority support
  • SSO / SAML
  • Audit logs

Feature rows

Pass a features array. Each feature has a label and a plans map where keys are plan IDs and values are true (check), false (dash), or a custom string override.

PricingPlan props

PropTypeDefaultDescription
idstringUnique plan identifier — matches feature plan keys.
namestringPlan display name.
descriptionstringShort description beneath the name.
monthlyPricenumberMonthly price as a number.
annualPricenumberAnnual price (per month) shown when billed annually.
highlightbooleanfalseApplies the highlighted/popular style to this plan.
badgestringBadge text above the card (e.g. "Most popular").
ctaLabelstring"Get {name}"CTA button label.
onCta() => voidCTA button click handler.

PricingTable props

PropTypeDefaultDescription
plansPricingPlan[]Array of pricing plans to display.
featuresPricingFeature[][]Feature comparison rows.
defaultBilling"monthly" | "annual""monthly"Initial billing period state.
currencystring"$"Currency symbol shown before the price.
classNamestringApplied to the outer container.
© 2026 Steal Shadow. MIT License.Report an issue