Skip to content

    Browse components

    Frost Tiles

    Icon tiles with a colored backplate behind a frosted glass front that lifts and tilts toward the pointer on hover.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/frost-tiles

    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/frost-tiles.json

    Usage

    import { FrostTiles } from "@/components/ui/frost-tiles";
    
    <FrostTiles
      items={[
        { icon: <FileText />, label: "Files", color: "#3b82f6" },
        { icon: <Heart />, label: "Likes", color: "#f43f5e" },
      ]}
    />

    Props

    PropTypeDefaultDescription
    itemsReactNode—Array of { icon, label, color?, onClick? }.
    sizenumber72Tile size in px.
    tiltnumber18Max pointer tilt of the glass in degrees.
    showLabelsbooleantrueShow the label under a hovered tile.
    classNamestring—Extra classes for the root element.