Gradient Orb
betaAn animated gradient orb — a rotating conic mesh with a dot screen, sheen and bloom — that can follow an AI state and a live audio level.
- Effects & motion
- 1 file
- No extra npm packages
- Accessibility notes
pnpm dlx @dowel-ui/cli add gradient-orbNo npm packages are needed beyond what Dowel already requires.
import { GradientOrb } from "@/components/ui/gradient-orb";Default
Gallery
Sizes
Custom Colours
<GradientOrb>
| Prop | Type | Default |
|---|---|---|
amplitudeLive audio level, 0–1. Tightens the blur and swells the disc while the state listens ( | number | 0 |
colorsAny CSS colours — tokens by default. | GradientOrbColors | — |
durationSeconds per rotation of the mesh at the base tempo. | number | 20 |
sizeDiameter. A number is pixels; a string is any CSS length. | number | string | 192 |
stateShared AI state: changes tempo, scale, saturation and bloom. Omit it for plain decoration at the base tempo. | GradientOrbState | — |
Plus every attribute of <div> except children.
8/8
checks passed
- Tested — passes
- axe assertion — passes
- Keyboard tested — does not apply
- Storybook examples — passes
- Accessibility documented — passes
- Semantic tokens only — passes
- Motion from tokens — passes
- className merged — passes
- Visible focus — does not apply
- No fixed widths — passes