Pricing Billing Swapper
A production-scale, light + dark Pricing Billing Swapper component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add pricing-billing-swapperLive preview available in the gallery.
Usage
import { PricingBillingSwapper } from "@lerpa/ui";
<PricingBillingSwapper />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| onBillingChange | (billing: 'monthly' | 'yearly') => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.