Motion & GSAP UI for React. Built for shadcn/ui.
Sora UI

Draw Underline Link

A link with a hand-drawn SVG underline that animates on hover.

Made by Axyl

Installation

Usage

import { DrawUnderlineLink } from '@/components/sora-ui/texts/draw-underline-link';

export default function Page() {
  return (
    <DrawUnderlineLink href="#" underlineColor="#ff4c24">
      Hover me
    </DrawUnderlineLink>
  );
}

Props

PropTypeDefault
children?
string
-
label?
string
-
variant?
"default" | "sm" | "lg"
"default"
duration?
number
0.5
paths?
readonly string[]
-
underlineColor?
string
"currentColor"
className?
string
-
textClassName?
string
-
underlineClassName?
string
-

Credits

Inspired by Osmo. Reimplemented for Motion and React.

Built by Axyl. The source code will be available on GitHub soon.

Last updated: 6/24/2026