Skip to content
Menu

Buttons

Four edge wipe icon button

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.

Using Four edge wipe icon button

Four edge wipe icon 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
accentcolor#9BE15DNo additional limit in the metadata.
glyphselectcloseOptions: close, plus, minus, check
sizenumber48From 32 to 72; step 2
durationnumber500From 200 to 1200; step 50
borderWidthnumber2From 1 to 4; step 1
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.

Connect your agent

Related open components