# Invert Fill Button

https://fieldbook.lizardi.mx/components/invert-fill-button

Category: Buttons
![Still of the Invert Fill Button component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/invert-fill-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/invert-fill-button-613586072d.mp4 (5 s, silent)

Invert Fill Button: A small outlined button that fills solid on hover while its label crosses to the opposite value, trading foreground and background cleanly.

## 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 | Details | Up to 20 characters |
| accent | color | #F5C542 | No additional limit in the metadata. |
| height | number | 36 | From 28 to 52; step 2 |
| radius | number | 0 | From 0 to 18; step 1 |
| duration | number | 400 | From 100 to 800; step 25 |

## Usage notes

Invert Fill Button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Invert Fill Button?

Invert 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 Invert Fill Button depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Invert Fill Button?

The React source for Invert Fill Button includes: native elements (button). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Invert Fill Button handle reduced motion?

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

## 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": "invert-fill-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Invert and lift button](https://fieldbook.lizardi.mx/components/invert-lift-outline-button)
- [Outline invert button](https://fieldbook.lizardi.mx/components/outline-invert-button)
- [Color swap play button](https://fieldbook.lizardi.mx/components/color-swap-play-button)
- [Corner bracket frame button](https://fieldbook.lizardi.mx/components/corner-bracket-frame-button)
- [Corner bracket seal button](https://fieldbook.lizardi.mx/components/corner-bracket-seal-button)
- [Dashed outline tooltip button](https://fieldbook.lizardi.mx/components/dashed-outline-tooltip-button)
