Skip to content
Menu

Buttons

Drifting halo button

Drifting halo button: A dark button ringed by a slightly larger halo frame in which one bright band of the accent drifts endlessly around the perimeter, brightening and lifting the plate on hover.

Using Drifting halo button

Drifting halo button uses the inline preview frame with a light/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
labeltextGet accessUp to 20 characters
accentcolor#38BDF8No additional limit in the metadata.
haloWidthnumber4From 2 to 10; step 1
driftSecondsnumber12From 4 to 30; step 1
Which frameworks are available for Drifting halo button?

Drifting halo button 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 Drifting halo button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Drifting halo button?

The React source for Drifting halo button includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Drifting halo button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Drifting halo button's index.tsx. 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