Back to Components
Components
Pricing Toggle
Segmented toggle for switching between billing cadences.
Billing
Save more when billed annually
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/pricing-toggle.tsx
Installation
Using shadcn CLI
npx shadcn add pricing-toggle --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge