Skip to content

Aura

Playground

State

Colour

Install

npm install @shavin/fx
import { Aura } from "@shavin/fx";

Works with

React

Client component; Next.js and any React 18+ app

Remotion

Frame-exact through FxTimeProvider or time

States

Changing state eases between looks instead of cutting. "listening" follows level; "speaking" runs its own rhythm, or follows level when it is above 0.

idle

thinking

working

listening

speaking

Props

PropTypeDefaultDescription
state"idle" | "thinking" | "working" | "listening" | "speaking""idle"Which state. Changes ease over a few hundred ms.
sizenumber48Diameter in px.
levelnumber0Live input level 0 to 1; drives listening, and speaking when above 0.
speednumber1Speed multiplier.
labelstringthe stateAccessible name (role="img"). Pass "" to hide it when a visible label sits beside it.
color"fg" | "brand" | "muted" | string | { light: string; dark: string }-Colour of the orb: a theme token, any CSS colour or var(--token), or a { light, dark } pair. Sets the root's CSS color; without it the orb uses currentColor.
classNamestring-A text colour class (e.g. text-success) also colours the orb when color is unset (default the brand-contrast text colour).
timenumber-Controlled time in seconds (e.g. frame / fps in Remotion): the orb draws that moment and runs no clock of its own. Also read from FxTimeProvider.

The dotted set is Murmur.

Anatomy

import { Aura } from "@shavin/fx";

<Aura state="thinking" />
<Aura state="listening" level={micLevel} size={96} />
Configure Theme
Theme
Brand Color
Custom
Gray Family
Appearance
Radius
Scaling
Panel Style
Heading Font
Body Font