Skip to content
Menu

Buttons

Swelling pill add button

Swelling pill add button: A heavy accent pill with a slowly breathing plus mark that swells about a tenth larger on a long slow ease and sinks into an inner shadow when held.

Using Swelling pill add button

Swelling pill add 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
labeltextAdd to projectUp to 24 characters
accentcolor#38BDF8No additional limit in the metadata.
growthnumber1.1From 1 to 1.25; step 0.01
easeMsnumber500From 150 to 1200; step 25
pulsebooleantrueNo additional limit in the metadata.
Which frameworks are available for Swelling pill add button?

Swelling pill add 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 Swelling pill add button depend on?

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

What accessibility details are visible in Swelling pill add button?

The React source for Swelling pill add 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 Swelling pill add button handle reduced motion?

Swelling pill add button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: transitionMs: reducedMotion ? 1 : holding ? PRESS_MS : Math.min(1200, Math.max(150, easeMs)). 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