Text Hover Effect
A text hover effect that animates and outlines gradient on hover, as seen on x.ai
Installation
Run the following command
npx shadcn@latest add https://ui.aceternity.com/registry/text-hover-effect.json
Props
Prop | Type | Default | Description |
---|---|---|---|
text | string | Required | The text to be displayed with the hover effect |
duration | number | 0 | The duration of the mask transition animation in seconds |
The initial code of this component is contributed by Sudhanshu Mishra
Build websites faster and 10x better than your competitors with Aceternity UI Pro
With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.
Manu is a genius. He is open-minded, curious and deeply invested in the
projects he chooses to work on. He takes your vision and brings it to
life -- and is a true partner in th...
Meru Gokhale
Founder at Editorially, Editrix