# Floating download pill

https://fieldbook.lizardi.mx/components/floating-download-pill

Category: Buttons
![Still of the Floating download pill component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/floating-download-pill.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/floating-download-pill-d52687effa.mp4 (5 s, silent)

Floating download pill: A fully rounded pill that appears to hover above the page and settles closer to it as you hover and press.

## 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 | Up to 24 characters |
| accent | color | #4D36D0 | No additional limit in the metadata. |
| lift | number | 11 | From 4 to 24; step 1 |
| showGlyph | boolean | true | No additional limit in the metadata. |

## Usage notes

Floating download pill uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Floating download pill?

Floating download pill 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 Floating download pill depend on?

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

### What accessibility details are visible in Floating download pill?

The React source for Floating download pill 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 Floating download pill handle reduced motion?

Floating download pill reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0 : 0.2. 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": "floating-download-pill",
    "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)
- [Grounded download pill](https://fieldbook.lizardi.mx/components/grounded-download-pill)
- [Settling shadow button](https://fieldbook.lizardi.mx/components/settling-shadow-button)
- [Swelling pill button](https://fieldbook.lizardi.mx/components/swelling-gradient-pill)
- [Amber upload pill](https://fieldbook.lizardi.mx/components/amber-upload-pill)
- [Arrow to label pill](https://fieldbook.lizardi.mx/components/arrow-to-label-pill)
