Skip to content

    Browse components

    Mono Spotlight

    A grid of profile cards drained to grayscale, with a soft spotlight of full color that trails the cursor.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/mono-spotlight

    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/mono-spotlight.json

    Usage

    import { MonoSpotlight } from "@/components/ui/mono-spotlight";
    
    <MonoSpotlight
      items={[
        { image: "/ana.jpg", title: "Ana Reyes", subtitle: "Frontend Engineer", handle: "@ana", color: "#3b82f6" },
      ]}
    />

    Props

    PropTypeDefaultDescription
    itemsReactNode—Array of { image, title, subtitle?, handle?, color?, url? }.
    radiusnumber280Spotlight radius in px.
    smoothingnumber0.12Follow smoothing (higher = snappier).
    columnsnumber3Grid columns.
    classNamestring—Extra classes for the root element.