ParticleField
A drifting field of particles with depth fog and parallax.
3Dimport { ParticleField } from 'umbra-ui/3d'
Props
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | — | Exact particle count, capped at 6000. Defaults to 500 / 1400 / 3200 by `quality`. |
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. |
speed | number | 1 | Drift speed multiplier. |
Usage notes
children render above the field.
Accessibility
- Decorative: the canvas is
aria-hidden. - A static dotted pattern is shown without WebGL or under reduced motion.
Import
import { ParticleField } from 'umbra-ui/3d';
import 'umbra-ui/styles.css'; // once, at the root of your app