Skip to content
Menu

Buttons

Refresh sweep spin

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.

Using Refresh sweep spin

Refresh sweep spin uses the inline preview frame with a light/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
labeltextRefreshUp to 20 characters
accentcolor#2F86FFNo additional limit in the metadata.
widthnumber150From 120 to 240; step 2
spinMsnumber700From 300 to 1600; step 50
busyMsnumber1600From 400 to 4000; step 100
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.

Connect your agent

Related open components