Wave Underline

A link underline that turns into a rolling wave on hover.

no dependenciesMIT · free

Installation

npx shadcn@latest add https://ombakui.com/r/wave-underline.json

Usage

import { WaveUnderline } from "@/components/wave-underline";

<WaveUnderline href="/docs">documentation</WaveUnderline>

Props

PropTypeDefaultDescription
children*ReactNode–Link text.
colorstringyour theme's primary colorUnderline color.
classNamestring–