# Press down sweep button

https://fieldbook.lizardi.mx/components/press-down-sweep-button

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

Press down sweep button: A solid button whose fill washes brighter from one side on hover and drops flat against the page while it is held.

## 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 | Send invite | Up to 24 characters |
| accent | color | #1E90FF | No additional limit in the metadata. |
| pressDepth | number | 3 | From 0 to 8; step 1 |
| sweep | boolean | true | No additional limit in the metadata. |
| radius | number | 4 | From 0 to 20; step 1 |

## Usage notes

Press down sweep button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Press down sweep button?

Press down sweep 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 Press down sweep button depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

### What accessibility details are visible in Press down sweep button?

The React source for Press down sweep button includes: 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 Press down sweep button handle reduced motion?

Press down sweep button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: y: reduced \|\| !pressed ? 0 : pressDepth. 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": "press-down-sweep-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Elevation ladder fill button](https://fieldbook.lizardi.mx/components/elevation-ladder-fill-button)
- [Arrow wipe call to action](https://fieldbook.lizardi.mx/components/arrow-wipe-cta)
- [Elevated chip button](https://fieldbook.lizardi.mx/components/elevated-chip-button)
- [Floating download pill](https://fieldbook.lizardi.mx/components/floating-download-pill)
- [Grounded download pill](https://fieldbook.lizardi.mx/components/grounded-download-pill)
- [Growing ledge button](https://fieldbook.lizardi.mx/components/growing-ledge-button)
