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
Installation
npx shadcn@latest add @glint-ui/glow-sphereFirst 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
| Prop | Type | Default | Description |
|---|---|---|---|
| hue | number | 0 | Hue rotation in degrees. |
| hoverIntensity | number | 1 | How much the orb warps and brightens on hover. |
| speed | number | 1 | Animation speed multiplier. |
| size | number | 1 | Size relative to the container's shorter side. |
| className | string | — | Extra classes for the root element. |