Skip to content
Menu

Buttons

Shrinking cap icon row

Shrinking cap icon row: A row of round icon buttons whose fill hides behind a dark cap that collapses away on hover, uncovering the colour from the rim inward.

Using Shrinking cap icon row

Shrinking cap icon row uses the inline preview frame with a 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
accentcolor#38BDF8No additional limit in the metadata.
countnumber5From 2 to 8; step 1
sizenumber50From 36 to 72; step 2
revealMsnumber400From 120 to 900; step 20
pressScalenumber0.85From 0.7 to 1; step 0.05
Which frameworks are available for Shrinking cap icon row?

Shrinking cap icon row 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 Shrinking cap icon row depend on?

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

What accessibility details are visible in Shrinking cap icon row?

The React source for Shrinking cap icon row includes: attributes and handlers (aria-hidden, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Shrinking cap icon row handle reduced motion?

Shrinking cap icon row reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduced ? { duration: 0 } : { duration: revealMs / 1000, ease: [0.22, 0.8, 0.2, 1] }. 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