Buttons
Glow halo button
Glow halo button: A pill button with a duplicate of itself blurred behind it, so hovering blooms a soft colored halo while the fill slowly drifts.
Using Glow halo button
Glow halo button uses the inline 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
label | text | HOVER ME | Up to 18 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
companion | color | #FF4D8D | No additional limit in the metadata. |
glow | number | 18 | From 0 to 40; step 1 |
driftSeconds | number | 10 | From 2 to 20; step 1 |
Which frameworks are available for Glow halo button?
Glow 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 Glow halo button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Glow halo button?
The React source for Glow 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 Glow halo button handle reduced motion?
Glow halo button 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.