Skip to content
Menu

Backgrounds

Sweep scope

Sweep scope: A round scope where rings pulse outward from the middle, spokes cut it into sectors and a lobe of light sweeps around the center.

Using Sweep scope

Sweep scope uses the card 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
colorcolor#9BE15DNo additional limit in the metadata.
ringsnumber10From 3 to 20; step 1
spokesnumber10From 0 to 24; step 1
sweepSpeednumber2From 0.1 to 6; step 0.1
brightnessnumber1From 0.3 to 2; step 0.1
interactivebooleantrueNo additional limit in the metadata.
Which frameworks are available for Sweep scope?

Sweep scope 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 Sweep scope depend on?

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

What accessibility details are visible in Sweep scope?

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

How does Sweep scope handle reduced motion?

Sweep scope reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Preference-dependent expressions in index.tsx: flare: calm.matches ? 0 : Math.max(0, 1 - (elapsed - ping.contact) / 0.24). 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