ef-text

Renders text with optional per-character or per-word animation support.

Renders text. Style with Tailwind or inline CSS.

When split is set, each segment gets CSS variables for animation:

Interactive example

Attributes

13 of 13

blur-amount

React prop
blur-amount
Type
number
Default
—
Description
Forwarded to the wrapping <ef-motionblur>'s amount when motion-blur is set.

blur-angle

React prop
blur-angle
Type
number
Default
—
Description
Forwarded to the wrapping <ef-motionblur>'s angle when motion-blur is set.

blur-fps

React prop
blur-fps
Type
number
Default
—
Description
Forwarded to the wrapping <ef-motionblur>'s fps when motion-blur is set.

blur-sensitivity

React prop
blur-sensitivity
Type
number
Default
—
Description
Forwarded to the wrapping <ef-motionblur>'s sensitivity when motion-blur is set.

blur-shutter-angle

React prop
blur-shutter-angle
Type
number
Default
—
Description
Forwarded to the wrapping <ef-motionblur>'s shutter-angle when motion-blur is set.

blur-threshold

React prop
blur-threshold
Type
number
Default
—
Description
Forwarded to the wrapping <ef-motionblur>'s threshold when motion-blur is set.

duration

React prop
duration
Type
string
Default
—
Description
How long this element is active (CSS time, e.g. "5s").

easing

React prop
easing
Type
string
Default
"linear"
Description
CSS easing keyword applied to stagger timing.

loop

React prop
loop
Type
boolean
Default
false
Description
Loop attribute — when this temporal is a self-driving root under a PlaybackController, the controller wraps back to 0 instead of pausing at duration.

motion-blur

React prop
motionBlur
Type
boolean
Default
false
Description
Wraps each segment in an <ef-motionblur> element for auto-detected directional blur.

offset

React prop
offset
Type
number
Default
—
Description
Start offset (seconds) within a parallel (fixed/contain/fit) parent timegroup.

split

React prop
split
Type
line | word | char
Default
"word"
Description
Splits text into segments by line, word, or character for staggered animation.

stagger

React prop
stagger
Type
string
Default
""
Description
Delay between each split segment's animation start (CSS time, e.g. "100ms").

Events