Starter
For side projects
12
- 3 projects
- Community support
- Basic analytics
One plan card. Price rolls with billing, features tick in on scroll, the featured card sits on grainy mesh. Pricing.
Open playgroundPricingCard is a React component in the Pricing category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { PricingCard } from "@ashutoshswamy/smoui" and set name, monthly, billing among its 6 props.
npm i @ashutoshswamy/smouiimport { PricingCard, BillingToggle } from "@ashutoshswamy/smoui";
<PricingCard
featured
badge="Most popular"
name="Studio"
monthly={39}
yearly={31}
billing={billing}
features={["Unlimited projects", "Priority support"]}
onSelect={checkout}
/>Plan heading.
stringPer-month price. yearly is the per-month price when billed yearly.
numberWhich price to show. Pair with BillingToggle.
"monthly""yearly"default "monthly"Feature list.
string[]Mesh background, mesh colors 0-7, corner badge.
boolean / number / stringButton label and handler.
string / () => void