Browse components
Sheen Card
Polished metal or glass card whose streaks, specular band and hotspot slide across the surface as the pointer tilts it.
Installation
npx shadcn@latest add @glint-ui/sheen-cardFirst 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
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | Card content. |
| finish | "silver" | "gold" | "graphite" | "rose" | "glass" | "silver" | Surface material. |
| maxTilt | number | 10 | Max tilt in degrees. |
| sheen | number | 0.8 | Brightness of the moving reflections. |
| brushed | boolean | true | Fine brushed-metal lines. |
| className | string | — | Extra classes for the root element. |