# Pressed ledge button

https://fieldbook.lizardi.mx/components/pressed-ledge-button

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

Pressed ledge button: A solid button resting on a thick darker bottom edge that collapses when pressed, so the cap drops flush like a real key.

## 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 | Publish | Up to 24 characters |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| depth | number | 4 | From 2 to 10; step 1 |
| size | select | md | Options: sm, md, lg |

## Usage notes

Pressed ledge button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Pressed ledge button?

Pressed ledge 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 Pressed ledge button depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Pressed ledge button?

The React source for Pressed ledge button includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Pressed ledge button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Pressed ledge 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": "pressed-ledge-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Growing ledge button](https://fieldbook.lizardi.mx/components/growing-ledge-button)
- [Lift and Sink Button](https://fieldbook.lizardi.mx/components/lift-and-sink-button)
- [Live keycap](https://fieldbook.lizardi.mx/components/live-keycap)
- [Press block button](https://fieldbook.lizardi.mx/components/press-block-button)
- [Three layer push button](https://fieldbook.lizardi.mx/components/three-layer-push-button)
- [Bevel press pill](https://fieldbook.lizardi.mx/components/bevel-press-pill)
