Buttons
Reversing bars menu button
Reversing bars menu button: A small square menu tile whose three stacked bars trade widths on hover while the tile itself cross fades from one fill color to another.
Using Reversing bars menu button
Reversing bars menu 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accent | color | #FF6A1F | No additional limit in the metadata. |
hoverColor | color | #38BDF8 | No additional limit in the metadata. |
size | number | 80 | From 48 to 120; step 4 |
barThickness | number | 3 | From 2 to 6; step 1 |
duration | number | 500 | From 150 to 1000; step 50 |
Which frameworks are available for Reversing bars menu button?
Reversing bars menu 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 Reversing bars menu button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Reversing bars menu button?
The React source for Reversing bars menu button 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 Reversing bars menu button handle reduced motion?
Reversing bars menu button 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.