Skip to content
Menu

Buttons

Traveling border pill

Traveling border pill: A small pill button whose hairline border carries one bright accent segment endlessly around the outline while the label text picks up the same travelling sheen.

Using Traveling border pill

Traveling border 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
labeltextGet accessUp to 20 characters
accentcolor#FF6A1FNo additional limit in the metadata.
lapMsnumber3000From 800 to 6000; step 100
segmentnumber0.25From 0.08 to 0.6; step 0.01
showDividerbooleantrueNo additional limit in the metadata.
Which frameworks are available for Traveling border pill?

Traveling border 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 border pill depend on?

The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.

What accessibility details are visible in Traveling border pill?

The React source for Traveling border 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 border pill handle reduced motion?

Traveling border pill 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.

Connect your agent

Related open components