# Refresh sweep spin

https://fieldbook.lizardi.mx/components/refresh-sweep-spin-button

Category: Buttons
![Still of the Refresh sweep spin component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/refresh-sweep-spin-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/refresh-sweep-spin-button-89814551ab.mp4 (5 s, silent)

Refresh sweep spin: A refresh button whose darker icon panel sweeps across the face on hover while the arrow makes exactly one turn, then keeps spinning through a busy run before easing back to rest.

## 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 | Refresh | Up to 20 characters |
| accent | color | #2F86FF | No additional limit in the metadata. |
| width | number | 150 | From 120 to 240; step 2 |
| spinMs | number | 700 | From 300 to 1600; step 50 |
| busyMs | number | 1600 | From 400 to 4000; step 100 |

## Usage notes

Refresh sweep spin uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Refresh sweep spin?

Refresh sweep spin 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 Refresh sweep spin depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Refresh sweep spin?

The React source for Refresh sweep spin includes: native elements (button); attributes and handlers (aria-busy, aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Refresh sweep spin handle reduced motion?

Refresh sweep spin 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": "refresh-sweep-spin-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Destructive sweep button](https://fieldbook.lizardi.mx/components/destructive-sweep-button)
- [Diagonal wedge button](https://fieldbook.lizardi.mx/components/diagonal-wedge-button)
- [Light sweep effect](https://fieldbook.lizardi.mx/components/light-sweep-effect)
- [Opposing rule text button](https://fieldbook.lizardi.mx/components/opposing-rule-text-button)
- [Orbiting rim light button](https://fieldbook.lizardi.mx/components/orbiting-rim-light-button)
- [Panning gradient button](https://fieldbook.lizardi.mx/components/panning-gradient-button)
