# Shrinking cap icon row

https://fieldbook.lizardi.mx/components/shrinking-cap-icon-buttons

Category: Buttons
![Still of the Shrinking cap icon row component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/shrinking-cap-icon-buttons.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/shrinking-cap-icon-buttons-fe03d43ac1.mp4 (5 s, silent)

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.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

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

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accent | color | #38BDF8 | No additional limit in the metadata. |
| count | number | 5 | From 2 to 8; step 1 |
| size | number | 50 | From 36 to 72; step 2 |
| revealMs | number | 400 | From 120 to 900; step 20 |
| pressScale | number | 0.85 | From 0.7 to 1; step 0.05 |

## Usage notes

Shrinking cap icon row uses the inline preview frame with a dark theme setting.

### 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.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "shrinking-cap-icon-buttons",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Rising disc icon row](https://fieldbook.lizardi.mx/components/rising-disc-icon-row)
- [Slide under download button](https://fieldbook.lizardi.mx/components/slide-under-download-button)
- [Channel tile row](https://fieldbook.lizardi.mx/components/channel-tile-row)
- [Expanding icon pill](https://fieldbook.lizardi.mx/components/expanding-icon-pill-2)
- [Flip face button](https://fieldbook.lizardi.mx/components/flip-face-button)
- [Icon reveal chip](https://fieldbook.lizardi.mx/components/icon-reveal-fill-chip)
