Skip to content
Menu

Buttons

Floating download pill

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

Using Floating download pill

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

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
labeltextDownloadUp to 24 characters
accentcolor#4D36D0No additional limit in the metadata.
liftnumber11From 4 to 24; step 1
showGlyphbooleantrueNo additional limit in the metadata.
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.

Connect your agent

Related open components