Skip to content

    Browse components

    Sheen Card

    Polished metal or glass card whose streaks, specular band and hotspot slide across the surface as the pointer tilts it.

    Open
    Customize
    silver
    gold
    graphite
    rose
    glass

    Installation

    npx shadcn@latest add @glint-ui/sheen-card

    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/sheen-card.json

    Usage

    import { SheenCard } from "@/components/ui/sheen-card";
    
    <SheenCard finish="graphite">
      <div className="p-6">Obsidian Member</div>
    </SheenCard>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Card content.
    finish"silver" | "gold" | "graphite" | "rose" | "glass""silver"Surface material.
    maxTiltnumber10Max tilt in degrees.
    sheennumber0.8Brightness of the moving reflections.
    brushedbooleantrueFine brushed-metal lines.
    classNamestring—Extra classes for the root element.