Billing toggle

Core

A monthly and yearly switch with a savings badge and prices that roll to the new amount.

pnpm dlx shadcn@latest add https://wui.alann.works/r/billing-toggle.json

API Reference

PropTypeDefault
value*stringrequired
onValueChange*(value: string) => voidrequired
optionsBillingToggleOption[]—
labelstring—
size"md" | "lg"—
classNamestring—
Categories
inputs
Dependencies
motion