Skip to content
Menu

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.

ControlTypeDefaultPreview limits
labeltextLaunchUp to 20 characters
accentcolor#FF6A1FNo additional limit in the metadata.
secondarycolor#FF4D8DNo additional limit in the metadata.
cycleSecondsnumber6From 2 to 16; step 0.5
glowBlurnumber20From 4 to 48; step 1
widthnumber130From 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.

Connect your agent

Related open components