Skip to content
Menu

Buttons

Color swap play button

Color swap play button: An uppercase play pill that trades its ground and text colors on hover, lifting as its colored glow turns dark.

Using Color swap play button

Color swap play 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
labeltextPlay nowUp to 20 characters
accentcolor#FF6A1FNo additional limit in the metadata.
glownumber10From 0 to 28; step 2
liftnumber2From 0 to 8; step 1
Which frameworks are available for Color swap play button?

Color swap play 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 Color swap play button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Color swap play button?

The React source for Color swap play 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 Color swap play button handle reduced motion?

Color swap play button 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