
Blur Text
Text
An interactive text effect that expands short words or labels on hover for editorial links, playful navigation, and desktop brand moments.
Text Hover Expand helps important words arrive with intent: hover expands the word without replacing it.
Best on short, high-emphasis text: headlines, launch lines, section openers, proof points. Avoid it on body copy, errors, legal text, or instructions, where legibility cannot be negotiable.
The risk in production is the text disappearing into the effect. Ship the final phrase as genuine HTML and keep the duplicate hover label out of the accessibility tree, as the component does.
import TextHover from '@/components/effects/text-hover' const page = () => { return ( <> <TextHover/> </> )}A creative studio can use Text Hover Expand for a services index on its homepage. Each discipline is listed as a short uppercase label, and hovering one swaps it for a larger version, opens a one-line description beneath it, and moves a corner-bracket frame onto the active item.
The outcome is exploration. The list stays compact until a visitor shows interest, and on touch screens each label opens with a tap, so nothing is locked behind hover.
Avoid it on body copy, labels, error and legal text, or any wording that has to be read on sight.
Move only the words that carry weight, pre-reserve their space to avoid shift, and skip costly filters on large text blocks.
Assistive technology should hear the phrase once, not character by character; visually split fragments are hidden from the accessibility tree with aria-hidden.
| Prop | Type | Default | Description |
|---|---|---|---|
bgColor | string | #0a0a0a | Section background color. |
textColor | string | #ffffff | Inactive text and description color. |
hoverColor | string | #ffffff | Active text and corner-frame color. |
duration | number | 0.35 | Hover frame animation duration in seconds. |
Use it when an interactive heading needs hover to expand a word without replacing it.
Keep the resolved phrase in the DOM, exposed once; mark any duplicated animated fragments hidden from assistive technology.
Not as long as the resolved text is genuine HTML and never trapped in canvas or client-only animation.
Hold the finished text's footprint so wrapping does not jump between breakpoints.
Under reduced motion the label swap becomes a simple opacity crossfade and the frame moves almost instantly, though the section still plays its short fade-up entrance.
Need a custom effect? Tell us what to create.