Skip to content
Menu

Buttons

Draining fill button

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.

Using Draining fill button

Draining fill button 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
labeltextDownload resumeUp to 28 characters
accentcolor#FF6A1FNo additional limit in the metadata.
residualnumber11From 0 to 40; step 1
durationnumber300From 100 to 800; step 50
borderWidthnumber2From 1 to 4; step 1
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.

Connect your agent

Related open components