Skip to content

    Browse components

    Glow Sphere

    A glowing iridescent orb whose film of color slides around its rim; it wobbles and brightens when hovered. WebGL.

    Glow Sphere

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/glow-sphere

    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/glow-sphere.json

    Usage

    import { GlowSphere } from "@/components/ui/glow-sphere";
    
    <div className="relative h-96">
      <GlowSphere hue={0} />
    </div>

    Props

    PropTypeDefaultDescription
    huenumber0Hue rotation in degrees.
    hoverIntensitynumber1How much the orb warps and brightens on hover.
    speednumber1Animation speed multiplier.
    sizenumber1Size relative to the container's shorter side.
    classNamestring—Extra classes for the root element.