Skip to content
Components / Brand

Dither scene

The Highstorm storm front behind a landing hero or a sign-in page.

@fabrials/ui
Loading state

Tools for people who work beside AI agents.

Text stays on the calm side of the storm.

Installation

  1. Import the control from @fabrials/ui, after setting the app up.

    TypeScript
    import { DitherScene } from "@fabrials/ui";

API reference

Prop / exportTypeDescription
varianthero | fullhero enters from the right of the box; full covers it, for sign-in.
revealnumberMilliseconds for the one-time roll-in on first paint; 0 turns it off. Skipped under reduced motion.
seednumberAnother storm with the same look.
cellnumberCSS pixels per dither dot (2 to 4).

Behavior

Absolute: give the parent position: relative and keep text on the calm side or on a solid surface. The ramp fades into --fui-dither-bg, else --background. Painted once; no loop.

Accessibility

Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.