Skip to content
Menu

Buttons

Rocking archive tint pill

Rocking archive tint pill: A tinted pill button whose folder glyph rocks side to side on hover or keyboard focus and settles level while pressed.

Using Rocking archive tint pill

Rocking archive tint 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
labeltextArchiveUp to 20 characters
accentcolor#2F6BFFNo additional limit in the metadata.
tintStrengthnumber0.15From 0.06 to 0.4; step 0.01
rockDegreesnumber8From 3 to 18; step 1
rockSpeednumber1From 0.4 to 2.5; step 0.1
Which frameworks are available for Rocking archive tint pill?

Rocking archive tint 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 Rocking archive tint pill depend on?

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

What accessibility details are visible in Rocking archive tint pill?

The React source for Rocking archive tint 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 Rocking archive tint pill handle reduced motion?

Rocking archive tint pill reads the motion preference in its React source through matchMedia(prefers-reduced-motion). 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