# Four edge wipe icon button

https://fieldbook.lizardi.mx/components/four-edge-wipe-icon-button

Category: Buttons
![Still of the Four edge wipe icon button component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/four-edge-wipe-icon-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/four-edge-wipe-icon-button-b50351b228.mp4 (5 s, silent)

Four edge wipe icon button: A square icon button whose glyph shrinks away while four tilted panels slide in from every edge and flood the tile with an accent color.

## 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 | #9BE15D | No additional limit in the metadata. |
| glyph | select | close | Options: close, plus, minus, check |
| size | number | 48 | From 32 to 72; step 2 |
| duration | number | 500 | From 200 to 1200; step 50 |
| borderWidth | number | 2 | From 1 to 4; step 1 |

## Usage notes

Four edge wipe icon button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Four edge wipe icon button?

Four edge wipe icon 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 Four edge wipe icon button depend on?

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

### What accessibility details are visible in Four edge wipe icon button?

The React source for Four edge wipe icon button includes: native elements (button); attributes and handlers (aria-hidden, aria-label, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Four edge wipe icon button handle reduced motion?

Four edge wipe icon button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduced ? 160 : duration; scale: reduced ? 1 : active ? 0 : 1; transition: reduced ? \{ duration: 0.16 \} : \{ duration: seconds, ease: \[0.4, 0, 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": "four-edge-wipe-icon-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Arrow wipe call to action](https://fieldbook.lizardi.mx/components/arrow-wipe-cta)
- [Channel tile row](https://fieldbook.lizardi.mx/components/channel-tile-row)
- [Converging chevron button](https://fieldbook.lizardi.mx/components/converging-chevron-button)
- [Expanding icon pill](https://fieldbook.lizardi.mx/components/expanding-icon-pill-2)
- [Grounded download pill](https://fieldbook.lizardi.mx/components/grounded-download-pill)
- [Growing back arrow](https://fieldbook.lizardi.mx/components/growing-back-arrow)
