Skip to content

    Browse components

    Lit Bento

    Bento grid whose cards light up with a cursor-following border glow, tilt gently and fill with drifting particles on hover.

    Open
    Customize

    Installation

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

    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/lit-bento.json

    Usage

    import { LitBento } from "@/components/ui/lit-bento";
    
    <LitBento glowColor="#a78bfa" />

    Props

    PropTypeDefaultDescription
    itemsReactNode—Array of { label, title, description, icon? }. Six items fill the grid.
    glowColorstring"#a78bfa"Glow, spotlight and particle color.
    spotlightRadiusnumber320Px radius of the cursor spotlight.
    tiltnumber6Max card tilt in degrees (0 disables).
    particlesbooleantrueFloating particles inside the hovered card.
    particleCountnumber10Particles per card.
    classNamestring—Extra classes for the root element.