# Draining fill button

https://fieldbook.lizardi.mx/components/draining-fill-button-2

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

Draining fill button: An outlined pill that starts fully flooded with colour and drains down to a slim band at the foot on hover, then refills from the bottom on leave.

## 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 | Download resume | Up to 28 characters |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| residual | number | 11 | From 0 to 40; step 1 |
| duration | number | 300 | From 100 to 800; step 50 |
| borderWidth | number | 2 | From 1 to 4; step 1 |

## Usage notes

Draining fill button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Draining fill button?

Draining fill 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 Draining fill button depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Draining fill button?

The React source for Draining fill 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 Draining fill button handle reduced motion?

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

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

## Related open components

- [Diagonal blob flood button](https://fieldbook.lizardi.mx/components/diagonal-blob-flood-button)
- [Diagonal swipe button](https://fieldbook.lizardi.mx/components/diagonal-swipe-button)
- [Jello squash button](https://fieldbook.lizardi.mx/components/jello-squash-button)
- [Liquid wave button](https://fieldbook.lizardi.mx/components/liquid-wave-button)
- [Sliding fill send pill](https://fieldbook.lizardi.mx/components/sliding-fill-send-pill)
- [Wipe fill button](https://fieldbook.lizardi.mx/components/wipe-fill-button)
