Orb
A 3D button: a living sphere that reacts to hover and press.
3Dimport { Orb } from 'umbra-ui/3d'
Props
| Prop | Type | Default | Description |
|---|---|---|---|
aria-label required | string | — | Accessible name. Required: the orb has no visible text of its own. |
children | ReactNode | — | Optional icon or short label centred over the orb. |
fallback | ReactNode | — | Replaces the built-in static fallback shown when WebGL is unavailable, the scene fails to load, or motion is reduced. |
quality | "low" | "medium" | "high" | medium | Rendering budget: DPR cap 1 / 1.5 / 2 and proportionally fewer or more polygons and particles. |
reducedMotion | "system" | "always" | "never" | "system" | Reduced-motion override. Under reduced motion the static fallback is rendered instead of the scene. |
size | "sm" | "md" | "lg" | md | Diameter: 56 / 88 / 128 px. |
tone | "accent" | "neon" | accent | Body colour. |
Usage notes
className and style apply to the wrapper; the ref and other props go to the <button>.
Accessibility
- A real
<button>: focusable, Enter and Space activate it. aria-labelis required.- The static fallback is still a working button.
Import
import { Orb } from 'umbra-ui/3d';
import 'umbra-ui/styles.css'; // once, at the root of your app