Bento Card

Installation

npx shadcn@latest add "https://uselayouts.com/r/bento-card.json"

Install dependencies

npm install motion @hugeicons/react @hugeicons/core-free-icons

Copy the code

Copy the code from the Code tab above into components/bento-card.tsx.

Update imports

Update the imports to match your project structure.

Usage

Basic Implementation

import BentoCard from "@/components/bento-card";

export default function Page() {
  return (
    <div className="h-screen flex items-center justify-center">
      <BentoCard />
    </div>
  );
}

Features

  • Interactive Tabs: Smooth switching between different dashboard views.
  • Micro-animations: Subtle layout transitions and hover effects using Framer Motion.
  • Glassmorphism: Elegant use of blur and borders for a premium feel.
  • Responsive Design: Adapts beautifully to different screen sizes.
  • Clean API: Easy to customize tabs and content.