Dev Design Library

Billing toggle

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

Billing toggle preview
Library
Arc Library
Framework
React
Type
ui
License
MIT
Dependencies
motion
Install
npx shadcn@latest add https://uiarc.dev/r/billing-toggle.json
Files
  • registry/components/billing-toggle/billing-toggle.tsx
  • registry/components/billing-toggle/billing-toggle.module.css
  • registry/components/animated-counter/animated-counter.tsx
  • registry/components/animated-counter/animated-counter.module.css
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library