# Traveling border pill

https://fieldbook.lizardi.mx/components/traveling-border-pill

Category: Buttons
![Still of the Traveling border pill component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/traveling-border-pill.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/traveling-border-pill-643cd8a330.mp4 (5 s, silent)

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.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| label | text | Get access | Up to 20 characters |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| lapMs | number | 3000 | From 800 to 6000; step 100 |
| segment | number | 0.25 | From 0.08 to 0.6; step 0.01 |
| showDivider | boolean | true | No additional limit in the metadata. |

## Usage notes

Traveling border pill uses the inline preview frame with a dark theme setting.

### 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.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "traveling-border-pill",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Amber upload pill](https://fieldbook.lizardi.mx/components/amber-upload-pill)
- [Arrow to label pill](https://fieldbook.lizardi.mx/components/arrow-to-label-pill)
- [Draining fill button](https://fieldbook.lizardi.mx/components/draining-fill-button-2)
- [Expanding icon pill](https://fieldbook.lizardi.mx/components/expanding-icon-pill-2)
- [Floating download pill](https://fieldbook.lizardi.mx/components/floating-download-pill)
- [Gap stretch arrow button](https://fieldbook.lizardi.mx/components/gap-stretch-arrow-button)
