Component packs › Hover FX › Elastic Link

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.

Elastic Link props

PropTypeDefaultDescription
linksElasticLinkItem[]
sizenumber26Font size in px. Default 26.
autoplaybooleanShowcase mode: an invisible cursor plays across the links.

Methods on the ref

Use it in React

import ElasticLink from './ElasticLink';

<ElasticLink />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Hover FX

Good for: Micro-interactions.