Skip to content
Menu

Buttons

Panning gradient button

Panning gradient button: A domed key whose oversized diagonal gradient pans across the face on hover, sweeping a lighter band from one corner to the other.

Using Panning gradient button

Panning gradient button 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
accentcolor#38BDF8No additional limit in the metadata.
deepcolor#1D4ED8No additional limit in the metadata.
labeltextBack this projectUp to 24 characters
durationnumber800From 200 to 2000; step 50
domebooleantrueNo additional limit in the metadata.
Which frameworks are available for Panning gradient button?

Panning gradient 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 Panning gradient button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Panning gradient button?

The React source for Panning gradient 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 Panning gradient button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Panning gradient 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.

Connect your agent

Related open components