Buttons
Traveling underglow pill
Traveling underglow pill: A capsule whose two tone color band travels sideways on hover while a blurred copy behind it lights the surface underneath.
Using Traveling underglow pill
Traveling underglow pill 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 | Launch | Up to 20 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
secondary | color | #FF4D8D | No additional limit in the metadata. |
cycleSeconds | number | 6 | From 2 to 16; step 0.5 |
glowBlur | number | 20 | From 4 to 48; step 1 |
width | number | 130 | From 96 to 260; step 2 |
Which frameworks are available for Traveling underglow pill?
Traveling underglow pill 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 Traveling underglow pill depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Traveling underglow pill?
The React source for Traveling underglow pill 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 Traveling underglow pill handle reduced motion?
Traveling underglow pill reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.