Skip to content

    Browse components

    Bento Grid

    Responsive bento layout of feature tiles with hover lifts, playful icons and a cursor spotlight that glows across tile borders.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/bento-grid

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/bento-grid.json

    Usage

    import { BentoGrid } from "@/components/ui/bento-grid";
    
    <BentoGrid>
      <BentoCard className="md:col-span-2" icon={<Search />} title="Instant search" description="Find anything fast." visual={<Preview />} href="/search" />
      <BentoCard icon={<ChartColumn />} title="Analytics" description="Live metrics." />
    </BentoGrid>

    Props

    PropTypeDefaultDescription
    childrenReactNode—BentoCard elements ({ title, description, icon, visual?, href?, cta?, className }).
    columnsnumber3Columns on wide screens.
    rowHeightnumber176Row height in px.
    gapnumber12Gap between tiles in px.
    spotlightbooleantrueCursor glow across tile borders.
    spotlightColorstring"#a3e635"Spotlight color.
    classNamestring—Extra classes for the root element.