# Edge Collapse Button

https://fieldbook.lizardi.mx/components/edge-collapse-button

Category: Buttons
![Still of the Edge Collapse Button component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/edge-collapse-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/edge-collapse-button-3d8a279818.mp4 (5 s, silent)

Edge Collapse Button: A flat button with a thick colored lip along its bottom edge that folds down to a hairline as the button drops onto it.

## 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 | Confirm | Up to 20 characters |
| accent | color | #9BE15D | No additional limit in the metadata. |
| lip | number | 5 | From 2 to 12; step 1 |
| snapMs | number | 100 | From 40 to 400; step 10 |

## Usage notes

Edge Collapse Button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Edge Collapse Button?

Edge Collapse 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 Edge Collapse Button depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Edge Collapse Button?

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

Edge Collapse 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": "edge-collapse-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Bevel press pill](https://fieldbook.lizardi.mx/components/bevel-press-pill)
- [Cartridge fire button](https://fieldbook.lizardi.mx/components/cartridge-fire-button)
- [Dialog bevel button](https://fieldbook.lizardi.mx/components/dialog-bevel-button)
- [Drifting aura button](https://fieldbook.lizardi.mx/components/drifting-aura-button)
- [Elevated chip button](https://fieldbook.lizardi.mx/components/elevated-chip-button)
- [Elevation ladder fill button](https://fieldbook.lizardi.mx/components/elevation-ladder-fill-button)
