Skip to content
Menu

Backgrounds

Prismatic light bands

Prismatic light bands: A dark canvas panel where a few long bands of light sweep and bend across the field, splitting into warm and cool fringes at their edges like a beam through a prism.

Using Prismatic light bands

Prismatic light bands uses the wide preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
accentcolor#FF6A1FNo additional limit in the metadata.
bandCountnumber3From 1 to 6; step 1
bandWidthnumber18From 4 to 60; step 2
warpnumber1From 0 to 2.5; step 0.1
dispersionnumber1From 0 to 3; step 0.1
speednumber0.2From 0.05 to 1; step 0.05
Which frameworks are available for Prismatic light bands?

Prismatic light bands is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Prismatic light bands depend on?

The React metadata lists these npm dependencies beyond React: clsx.

What accessibility details are visible in Prismatic light bands?

The React source for Prismatic light bands includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Prismatic light bands handle reduced motion?

Prismatic light bands reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components