Skip to content

    Browse components

    Lustre Text

    Polished metal lettering with a bevel and a specular glint that sweeps across, or follows your pointer.

    Open
    Customize

    silver
    gold
    rose
    titanium

    Installation

    npx shadcn@latest add @glint-ui/lustre-text

    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/lustre-text.json

    Usage

    import { LustreText } from "@/components/ui/lustre-text";
    
    <LustreText text="Chrome Finish" metal="silver" />

    Props

    PropTypeDefaultDescription
    textstring"Chrome Finish"Text to render.
    metal"silver" | "gold" | "rose" | "titanium""silver"Metal finish.
    speednumber4Seconds per lustre sweep (includes a short rest).
    followPointerbooleantrueHighlight follows the pointer while hovered.
    bevelnumber0.6Strength of the bevel shading, 0–1.
    classNamestring—Extra classes for the root element.