A text animation with animated underline
npx shadcn@latest add "https://optiqui.com/r/text-underline"
Prop | Type | Description | Default |
---|---|---|---|
text | string | Text to get underlined | - |
className | string | Additional classNames applied to text | - |
lineClassName | string | Additional classNames applied to underline | - |
lineWidth | number | Thickness of underline | 6 |
waitTillInView | boolean | Don't run animation until in view | true |