Skip to content
Menu

Buttons

Spotlight fill button

Spotlight fill button: A pill button in one saturated accent that dims its fill under a dark veil on hover while a soft oval spotlight follows the pointer.

Using Spotlight fill button

Spotlight fill 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
labeltextStart free trialUp to 24 characters
accentcolor#FF6A1FNo additional limit in the metadata.
spotSizenumber160From 60 to 260; step 10
dimnumber0.3From 0 to 0.6; step 0.05
followPointerbooleantrueNo additional limit in the metadata.
Which frameworks are available for Spotlight fill button?

Spotlight fill 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 Spotlight fill button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Spotlight fill button?

The React source for Spotlight fill button includes: native elements (button); attributes and handlers (aria-hidden, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Spotlight fill button handle reduced motion?

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