Pricing Plan Switcher
A production-scale, light + dark Pricing Plan Switcher component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add pricing-plan-switcherLive preview available in the gallery.
Usage
import { PricingPlanSwitcher } from "@lerpa/ui";
<PricingPlanSwitcher />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| plans | PricingPlan[] | — | |
| defaultBilling | BillingCycle | — | |
| onSelect | (plan: PricingPlan, billing: BillingCycle) => void | — | |
| ctaLabel | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.