Back to Components
Cards
Glass Card
Glassmorphism card with blur, layered glow, and optional icon support.
NewBeta
Glass Card
Layered glass surfaces with soft highlights and depth.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/glass-card.tsx
Installation
Using shadcn CLI
npx shadcn add glass-card --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge