# Hard Shadow Button

https://fieldbook.lizardi.mx/components/hard-shadow-button

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

Hard Shadow Button: A thick-outlined button that lifts off its solid offset shadow on hover and presses back into it on click.

## 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 | Buy now | Up to 20 characters |
| accent | color | #F5C542 | No additional limit in the metadata. |
| borderWidth | number | 3 | From 1 to 6; step 1 |
| offset | number | 3 | From 1 to 10; step 1 |

## Usage notes

Hard Shadow Button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Hard Shadow Button?

Hard Shadow 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 Hard Shadow Button depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Hard Shadow Button?

The React source for Hard Shadow 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 Hard Shadow Button handle reduced motion?

Hard Shadow 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": "hard-shadow-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Offset outline stack](https://fieldbook.lizardi.mx/components/offset-outline-stack-button)
- [Bevel frame button](https://fieldbook.lizardi.mx/components/bevel-frame-button)
- [Bevel press pill](https://fieldbook.lizardi.mx/components/bevel-press-pill)
- [Cartridge fire button](https://fieldbook.lizardi.mx/components/cartridge-fire-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)
