# Rolling Label Button

https://fieldbook.lizardi.mx/components/label-roll-button

Category: Buttons
![Still of the Rolling Label Button component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/label-roll-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/label-roll-button-36a8c73f49.mp4 (5 s, silent)

Rolling Label Button: A compact glowing pill that rolls its caption up out of view and brings a second line in from below on hover.

## 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 | Download | Up to 18 characters |
| hoverLabel | text | For free | Up to 18 characters |
| accent | color | #38BDF8 | No additional limit in the metadata. |
| glow | number | 20 | From 0 to 40; step 1 |
| rollMs | number | 450 | From 150 to 900; step 25 |

## Usage notes

Rolling Label Button uses the inline preview frame with a dark theme setting.

### Which frameworks are available for Rolling Label Button?

Rolling Label 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 Rolling Label Button depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Rolling Label Button?

The React source for Rolling Label 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 Rolling Label Button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Rolling Label Button's index.tsx. 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": "label-roll-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Sliding label button](https://fieldbook.lizardi.mx/components/sliding-label-button)
- [Traveling underglow pill](https://fieldbook.lizardi.mx/components/traveling-underglow-pill)
- [Amber upload pill](https://fieldbook.lizardi.mx/components/amber-upload-pill)
- [Arrow to label pill](https://fieldbook.lizardi.mx/components/arrow-to-label-pill)
- [Color swap play button](https://fieldbook.lizardi.mx/components/color-swap-play-button)
- [Corner bracket seal button](https://fieldbook.lizardi.mx/components/corner-bracket-seal-button)
