Pricing with billing toggle
Plan cards with a monthly or annual switch that animates every price.

npm install motion clsx tailwind-merge lucide-react or npx programmable-cli add pricing-toggle
MP4 and GIF exports are for sites that are not on React. Each counts as this month’s download of the component.
What it’s for
- Your pricing page
- Plan pickers in onboarding
- Launch pages with an offer
How to use it
- Download the file. PricingToggle.tsx is one self-contained React component. Pick a brand colour above and the file comes in it, where the component has a main colour to replace. Sites not on React can take it as an MP4 or GIF.
- Install what it uses.
npm install motion clsx tailwind-merge lucide-react, with Tailwind CSS set up in your project. - Drop it in.
import { PricingToggle } from "./PricingToggle";then render<PricingToggle />where you want it.
Want it about your product? Make one like it and the studio builds a version with your features, numbers and brand.
React + Tailwind CSS. Use downloads in your own sites and products; please don’t resell them as a component library. Repeat downloads of the same component in a month don’t count.



