Component packs › Hover FX › Elastic Link
The underline is an elastic string that bends toward the cursor and wobbles when you let go.
Elastic Link is a links from Hover FX, a component pack with 6 components: The fastest way to make a site feel premium. Price: $2 for the whole pack.
Built with: spring string, release pluck, focus draws it.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
links | ElasticLinkItem[] | ||
size | number | 26 | Font size in px. Default 26. |
autoplay | boolean | Showcase mode: an invisible cursor plays across the links. |
destroy(): voidimport ElasticLink from './ElasticLink';
<ElasticLink />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Micro-interactions.