Skip to content
Menu

Backgrounds

Branching bolt

Branching bolt: A jagged bolt walks down the frame with short forks dying off its sides, flares white on the strike, then fades to an afterimage.

Using Branching bolt

Branching bolt uses the full page 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
boltColorcolor#7C5CFFNo additional limit in the metadata.
strikeIntervalnumber2.5From 0.5 to 8; step 0.5
intensitynumber1.1From 0.3 to 2.5; step 0.1
thicknessnumber1.6From 0.5 to 5; step 0.1
branchingnumber4From 0 to 12; step 1
clickToStrikebooleantrueNo additional limit in the metadata.
Which frameworks are available for Branching bolt?

Branching bolt 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 Branching bolt depend on?

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

What accessibility details are visible in Branching bolt?

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

How does Branching bolt handle reduced motion?

Branching bolt 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