Variable: HighlightText
@arolariu/components / HighlightText
Variable: HighlightText
constHighlightText:ForwardRefExoticComponent<Omit<HighlightTextProps,"ref"> &RefAttributes<HTMLSpanElement>>
Defined in: components/ui/highlight-text.tsx:41
Animates a gradient highlight fill behind inline text content.
Remarks
- Animated component using the
motionlibrary - Renders a
<span>element - Styling via CSS Modules with
--ac-*custom properties - Client-side only (
"use client"directive)
Example
<HighlightText text="Highlighted copy" />
See
HighlightTextProps for available props
// was this page useful?