Feature 272 - Monthly and yearly usage togglePro
A segmented monthly/yearly toggle that swaps the usage allowance shown on each feature row, with numbers sliding vertically as the period changes.
About Feature 272
A segmented monthly/yearly toggle that swaps the usage allowance shown on each feature row, with numbers sliding vertically as the period changes.
Feature 272 is a pro feature block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 117 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- toggle
- monthly
- yearly
- limits
- interactive
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/feature-272Dependencies installed automatically: motion.
Uses: button, reveal, utils.
Usage
import Feature272 from "@/components/blocks/feature-272"
export default function Page() {
return <Feature272 />
}