OPEN-UI

Text Hover Effect

Text that reveals a cursor-following gradient and stroke animation on hover.

OPEN-UIOPEN-UIOPEN-UI

Install

Use Open-UI CLI or Shadcn CLI to install the component.

Open-UI CLI

Shadcn CLI

Usage

PropDefaultDescriptionType
textThe text to display. Revealed with cursor-following gradient and stroke animation on hover.string
duration0Duration (s) for the radial mask to follow the cursor. Use 0 for instant follow. Default: 0.number
classNameOptional CSS class for the root SVG container (e.g. width, height, margin).string
textClassNameOptional CSS class merged into all text elements (e.g. font size, font family, stroke).string

Related Components