Buttons
Center out underline link
Center out underline link: A navigation link whose underline grows outward from the middle to both ends on hover and retracts back to a point when the pointer leaves.
Using Center out underline link
Center out underline link 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 |
|---|---|---|---|
label | text | Pricing | Up to 32 characters |
accent | color | #9BE15D | No additional limit in the metadata. |
thickness | number | 2 | From 1 to 6; step 1 |
offset | number | 4 | From 0 to 12; step 1 |
duration | number | 400 | From 100 to 900; step 25 |
Which frameworks are available for Center out underline link?
Center out underline link 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 Center out underline link depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Center out underline link?
The React source for Center out underline link includes: native elements (a); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Center out underline link handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Center out underline link's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.