Feature 280 - Simple and advanced mode switchPro
A switch toggles between a simple and an advanced view of the product; the headline, description and two-column feature list cross-fade to match the chosen mode.
About Feature 280
A switch toggles between a simple and an advanced view of the product; the headline, description and two-column feature list cross-fade to match the chosen mode.
Feature 280 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 98 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
- switch
- modes
- 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-280Dependencies installed automatically: lucide-react, motion.
Uses: reveal, utils.
Usage
import Feature280 from "@/components/blocks/feature-280"
export default function Page() {
return <Feature280 />
}