Buttons
Dot matrix arrow button
Dot matrix arrow button: A button drawn as rows of dots stepped into a rightward arrowhead that glides sideways and back in a slow loop while hovered or focused and compresses toward its point when pressed.
Using Dot matrix arrow button
Dot matrix arrow 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 |
|---|---|---|---|
dotSize | number | 6 | From 3 to 12; step 1 |
gap | number | 4 | From 2 to 10; step 1 |
accent | color | #38BDF8 | No additional limit in the metadata. |
travel | number | 20 | From 0 to 48; step 2 |
loopSeconds | number | 2 | From 0.6 to 5; step 0.2 |
Which frameworks are available for Dot matrix arrow button?
Dot matrix arrow 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 Dot matrix arrow button depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Dot matrix arrow button?
The React source for Dot matrix arrow 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 Dot matrix arrow button handle reduced motion?
Dot matrix arrow button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? undefined : { scaleX: 0.78 }; reduce ? { duration: 1.6, ease: "easeInOut", repeat: Infinity, delay: r * 0.09 } : undefined; reduce ? { filter: ["brightness(1)", "brightness(1.7)", "brightness(1)"] } : undefined. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.