Back to Components
Components
Component Preview
Preview wrapper with tabs for preview, usage, and code.
No preview available
Dependencies
- clsx
- tailwind-merge
- lucide-react
Files
- components/ui/component-preview.tsx
Installation
Using shadcn CLI
npx shadcn add component-preview --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge lucide-react