Browse components
Orb
A glowing iridescent orb whose film of color slides around its rim; it wobbles and brightens when hovered. WebGL.
Orb
Installation
npx shadcn@latest add @glint-ui/orbFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/orb.json
Usage
import { Orb } from "@/components/ui/orb";
<div className="relative h-96">
<Orb 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. |