Glow

A React component in Beamline's Motion & effects category, in the free sample.

Ambient light around one element that says something is happening: an aurora under a working composer, or a ring of light round a live card.

Use it for

  • Border beam (ring): a field or card that is live: a search running, a composer while the agent works, a hero search while focused (SearchField and InputDissolve `beam`).
  • Voice glow (aurora): a call or recording in progress (VoiceButton, SpeechInput, ConversationBar do this themselves).

Not for

  • Decoration with no state behind it: bind `active` to something that is true only for a while.
  • More than one running at once on a screen; others may be mounted, inactive (they cost nothing).
  • Showing audio level precisely (live-waveform, bar-visualizer); an agent's presence (orb).

Anatomy

  • wrapped element
  • field: three drifting blobs (aurora) or a turning conic band with bloom (ring)

Variants

  • variant: aurora, ring
  • intensity: 0–1

States

  • active (fades in over 2 × --pui-duration-considered, moves)
  • inactive (fades out, all motion stops)
  • off screen (paused)
  • reduced motion (still light, no motion)

Keyboard

  • None; the wrapped element keeps its own semantics and focus.

Motion

Aurora blobs drift on periods of 19.5, 25 and 22 × --pui-duration-considered (about 7–9 s at the default speed); the ring turns every 10 × (about 3.6 s). Every period follows the scope's animation speed. Transforms only; colours are --pui-glow-1/2/3, derived from the brand. Bind active to a state that ends: inactive fades out and every animation stops.

Props

PropTypeDefaultDescription
classNamesGlowClassNames—Classes for the named visual parts; no part overrides by default.
style / refCSSProperties / native Ref—style: Inline styles on the documented visual root; no inline overrides by default. ref: Receives the documented root element; no ref by default.
effect"aurora" | "ring"—Aurora light behind the content or a ring around it; defaults to aurora.
childrenReactNode—Content rendered inside the component. Defaults to no children.
activeboolean—While true the glow fades in and moves; false fades it out and stops all motion.
variant"aurora" | "ring"—Legacy effect setting; omitted by default. Deprecated: Use effect instead.
intensitynumber—0–1, how strong the light is.
radiusstring—Corner radius of the wrapped element, so the ring follows it. Defaults to the card radius.
classNamestring—Classes on the documented visual root; no override by default.
styleCSSProperties—Inline styles on the documented visual root; no inline overrides by default.
refRef<HTMLDivElement>—Receives the documented root element; no ref by default.

Used in

Import

import { Glow } from "@beamline/glow";

Get it

Glow is part of Beamline UI. Install the parts you need in your React app as compiled packages or editable source. Glow is included in the free MIT sample. Get Beamline · Connect your agent

More in Motion & effects

  • Light band: A band of split light in the dark behind a section, blue at one end and amber at the other with a bright core: Prism's light at a chosen place, a hero…
  • Halftone Dots: A picture rebuilt as a field of dots whose size follows brightness; a new picture morphs the dots, a click ripples through, the pointer pushes dots aside.
  • Liquid gooey: Liquid surfaces that merge like goo when they touch — split plus-menus, gooey switches, file chips.
  • Sound: Opt-in interface cues with scoped volume, graceful mute and bounded repetition; soft tactile gestures and restrained result tones.

Part of Beamline UI: polished, editable React components and complete screens for custom applications. Build your own style from any look; tokens, fonts, radii, motion; not only colours.