Skip to content

    Browse components

    Orb Button

    A glowing gradient orb drifts inside the button and swells to chase the pointer on hover.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/orb-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/orb-button.json

    Usage

    import { OrbButton } from "@/components/ui/orb-button";
    
    <OrbButton colorA="#a78bfa" colorB="#22d3ee">Start building</OrbButton>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Button label.
    colorAstring"#a78bfa"Orb core color.
    colorBstring"#22d3ee"Orb outer color.
    classNamestring—Extra classes for the root element.