Buttons
Growing back arrow
Growing back arrow: A bare left-arrow back control that grows and stretches its shaft on hover, then snaps to rest when pressed.
Using Growing back arrow
Growing back arrow 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 | #38BDF8 | No additional limit in the metadata. |
size | number | 50 | From 24 to 96; step 2 |
hoverScale | number | 1.25 | From 1 to 1.6; step 0.05 |
shaftStretch | number | 3 | From 0 to 8; step 1 |
tooltip | text | Go back | Up to 24 characters |
Which frameworks are available for Growing back arrow?
Growing back arrow 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 Growing back arrow depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Growing back arrow?
The React source for Growing back arrow 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 Growing back arrow handle reduced motion?
Growing back arrow reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: transformTransition: reduced ? undefined : pressed ? "transform 70ms ease" : "transform 220ms cubic-bezier(0.2, 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.