Skip to content

    Browse components

    Shiny Button

    Gradient border and inner glow that follow the cursor.

    Open
    Customize

    sm
    md
    lg

    Installation

    npx shadcn@latest add @glint-ui/shiny-button

    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/shiny-button.json

    Usage

    import { ShinyButton } from "@/components/ui/shiny-button";
    
    <ShinyButton size="lg">Get started</ShinyButton>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Button label.
    gradientFromstring"#c6ff3d"Gradient start.
    gradientTostring"#22d3ee"Gradient end.
    size"sm" | "md" | "lg""md"Button size.
    classNamestring—Extra classes for the root element.