# Color swap play button

https://fieldbook.lizardi.mx/components/color-swap-play-button

Category: Buttons
![Still of the Color swap play button component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/color-swap-play-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/color-swap-play-button-2574ecb09d.mp4 (5 s, silent)

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

## 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 | Play now | Up to 20 characters |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| glow | number | 10 | From 0 to 28; step 2 |
| lift | number | 2 | From 0 to 8; step 1 |

## Usage notes

Color swap play button uses the inline preview frame with a light/dark theme setting.

### 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.

## 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": "color-swap-play-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Outline invert button](https://fieldbook.lizardi.mx/components/outline-invert-button)
- [Corner bracket seal button](https://fieldbook.lizardi.mx/components/corner-bracket-seal-button)
- [Glow halo button](https://fieldbook.lizardi.mx/components/glow-halo-button)
- [Invert Fill Button](https://fieldbook.lizardi.mx/components/invert-fill-button)
- [Invert and lift button](https://fieldbook.lizardi.mx/components/invert-lift-outline-button)
- [Invert on hover pill](https://fieldbook.lizardi.mx/components/invert-on-hover-pill)
