Preview live, install via shadcn or copy the source.
This will install the component and its dependencies automatically.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| children | React.ReactNode | — | Yes | Link text or node. |
| href | string | — | Yes | Link href. |
| underlineHeight | string | 1px | No | Underline thickness. |
| underlineColor | string | currentColor | No | Underline color. |
| duration | number | 0.4 | No | GSAP duration. |
| ease | string | power3.out | No | GSAP ease. |
| gap | string | 2px | No | Gap between text and underline. |
| underlineClassName | string | — | No | Class for underline element. |
| className | string | — | No | Additional classes for link. |