Back to Components
Cards

Bento Card

Card component for bento grid layouts. Supports multiple sizes (1x1, 2x1, 1x2, 2x2) with optional gradient backgrounds.

Analytics

Track your metrics

Dashboard

All your data in one place with real-time updates

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/bento-card.tsx

Installation

Using shadcn CLI

npx shadcn add bento-card --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge