Text Effects
Gradient Wipe
Bold headline in dim steel; a bright gold sheen band sweeps across via background-clip:text with a soft bloom glow pulsing beneath at center crossing.
csslight complexitymoderate motion
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Dark-mode hero titles, product names, or brand wordmarks needing a premium metallic reveal loop.
When not to
Light backgrounds (hardcoded dark body). Multi-word strings longer than ~10 chars where the sheen band looks thin.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the word from 'METALLIC' to 'CHROME', shift sheen color from gold (#f5d76e) to silver (#e8eaf0), and slow the cycle to 5s. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- word content (data-w attribute + h1 text)
- sheen band color (#f5d76e / #fff6d6)
- animation duration (3.6s)
- background-size:280% controls band width
- bloom opacity peak (0.5 at 55%)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- background-clip:text / -webkit-text-fill-color:transparent pair
- ::after bloom uses data-w attr for matching text
- visibilitychange pause guard
- prefers-reduced-motion settled static frame
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- background-clip:text unsupported in some older browsers — text falls invisible without the -webkit- prefix
- Light re-theme via the [data-theme=light] token block; catalog bg/accent describe the dark default
More Text Effects components
- Scramble DecodeGold monospace text resolves from random glyphs left-to-right with a tracking caret, holds with micro-flickers, then re-scrambles through a 6-phrase loop.
- Stagger RiseGold serif letters rise through a clipped baseline one by one, hold as a word, then exit upward in a staggered loop.
- Weight WaveA bell-curve wave of font-weight travels left-to-right across the word WEIGHT; crest letters bulge bold, lift slightly, and warm to gold glow.
- Block RevealGold block sweeps left-to-right over stacked uppercase words, pauses, then retracts right to reveal the text. Loops with a faint underline rule.
- Glitch SplitBold word renders with red/cyan RGB channel-split; periodic bursts trigger horizontal slice displacement and scanline glints over a dark background.