Skip to content

Aurora

Up to three soft colour fields drifting slowly behind your content, in your theme tokens or your brand colours.

On this page

Examples

Density
Speed
Mask
Focus
Colour

Installation

npx knowns-ui@latest add aurora
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

children
ReactNode
Content drawn above the background. The root is relative and isolated; size it with className.
density
"low" | "medium" | "high" | number
Default"medium"
How much of the box the colour covers.
speed
number
Default1
Motion multiplier, up to 4. 0 holds a still frame.
color
string | string[]
Defaultindigo, sky, violet
One to three colours, one per field. A single colour fills all three.
mask
"radial" | "top" | "bottom" | "edges" | "none"
Default"radial"
Where it stays visible; it fades out elsewhere.
focus
"center" | "band" | "none"
Default"none"
A quiet zone behind your content: the pattern fades out there so body copy stays at AA contrast. Stacks with mask. The demos use "center".
intensity
number
Default1
Overall strength, 0 to 1.5.
paused
boolean
Defaultfalse
Stops the motion. It also stops offscreen, in hidden tabs and with prefers-reduced-motion (a still, composed frame).
className / style
-
On the root.
Motion
-
CSS transform keyframes, 26–38 s per drift, alternating.

When to use

When to use

  • Soft colour fields behind a hero or a pricing section, drifting slowly.
  • Brand moments where a little colour helps and performance matters (transform only, no blur filter).

When not to use

  • Data-heavy screens: colour behind numbers competes with them.
  • A neutral, structured backdrop: use Perspective Grid.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Aurora to my app and wire it to my own data.
  • I need soft colour fields behind a hero or a pricing section, drifting slowly. Set that up with the Knowns UI Aurora.
  • Which Aurora props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "aurora" }) and search_docs({ query: "aurora" }).

Need help?

Stuck on Aurora, or found something off? We read every message.