# Focus halo button

https://fieldbook.lizardi.mx/components/focus-halo-button

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

Focus halo button: A solid button that inverts to an outline on pointer hover and grows two stacked translucent rings the moment it takes keyboard focus.

## 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 |
| --- | --- | --- | --- |
| accent | color | #1D6BF5 | No additional limit in the metadata. |
| label | text | Save changes | Up to 28 characters |
| radius | number | 7 | From 0 to 20; step 1 |
| ringWidth | number | 5 | From 2 to 12; step 1 |
| invert | boolean | true | No additional limit in the metadata. |

## Usage notes

Focus halo button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Focus halo button?

Focus halo 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 Focus halo button depend on?

The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.

### What accessibility details are visible in Focus halo button?

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

### How does Focus halo button handle reduced motion?

Focus halo 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": "focus-halo-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Invert Fill Button](https://fieldbook.lizardi.mx/components/invert-fill-button)
- [Invert and lift button](https://fieldbook.lizardi.mx/components/invert-lift-outline-button)
- [Offset outline stack](https://fieldbook.lizardi.mx/components/offset-outline-stack-button)
- [Outline invert button](https://fieldbook.lizardi.mx/components/outline-invert-button)
- [Bevel frame button](https://fieldbook.lizardi.mx/components/bevel-frame-button)
- [Color swap play button](https://fieldbook.lizardi.mx/components/color-swap-play-button)
