Text

Semantic text with optional visual, truncation, and typewriter effects.

Text

Use effect="shimmer" for live, in-progress copy, effect="typing" to reveal content character by character, and rainbow, neon, or shadow for decorative emphasis. Effects are visual only; add an appropriate live-region role when the surrounding product state needs to be announced.

API

PROPS

Property
Type
Values
Description
default
Example
More
tag
String
semantic HTML tag
Select the rendered element and semantic color state.
span
—
status
String
primary | success | warning | danger | info
Select the rendered element and semantic color state.
—
—
content
String | Number
text
Text when no default slot is supplied.
—
—
effect
none | shimmer | typing | rainbow | neon | shadow
Select a text treatment. `shimmer` sweeps a highlight, `typing` reveals `content`, `rainbow` cycles semantic colors, `neon` pulses a glow, and `shadow` moves a soft gradient shadow. Motion becomes static under reduced-motion preferences.
none
—
line-clamp
false | Number
false | positive integer
Truncation lines. `false` disables truncation, `1` truncates one line, and `2+` clamps multiple lines.
false
—
Last Updated: 2026-10-28, 06:17:56 UTC
Copied