Feature 80 - Device switcher resizing a previewPro
A segmented desktop, tablet and phone control springs a framed site preview between widths while its layout reflows inside.
About Feature 80
A segmented desktop, tablet and phone control springs a framed site preview between widths while its layout reflows inside.
Feature 80 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 136 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.
- responsive
- devices
- preview
- 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-80Dependencies installed automatically: lucide-react, motion.
Uses: reveal, utils.
Usage
import Feature80 from "@/components/blocks/feature-80"
export default function Page() {
return <Feature80 />
}