Skip to content
nexubDesign System
v11.9.0

Components · Inline Primitives

Aurora

BetaAdded v4.2.0

A decorative background of slow-drifting colour fields from the accent roles. Subtle by default, richer under data-expression="vivid".

import { Aurora } from '@nexub/react';
View as Markdown

Examples

Behind a hero

New

Your money, at a glance

The colour follows your brand, theme and dark mode.

Props

Props
PropTypeDefaultDescription
classNamestring—Shape it to its container, e.g. rounded-shape-container. The parent needs position: relative and isolate so the aurora stays behind the content.

Accessibility

Screen reader

  • Decorative: the whole layer is `aria-hidden`.

Notes

  • The fields stop drifting under reduced motion and the layer is hidden in forced-colours mode.

On iOS & Android