Umbra UI

HeroScene

A full-bleed eclipse background for hero sections.

3Dimport { HeroScene } from 'umbra-ui/3d'

Props

PropTypeDefaultDescription
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"mediumRendering 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.

Usage notes

children render above the scene as normal DOM.

Accessibility

  • The canvas is aria-hidden; your content is unaffected.
  • Without WebGL or under reduced motion a static CSS eclipse is rendered. Override it with fallback.
  • Rendering stops while offscreen or in a hidden tab.

Import

import { HeroScene } from 'umbra-ui/3d';
import 'umbra-ui/styles.css'; // once, at the root of your app