Kinetic Typography
3D Extruded Word
Bold word "DEPTH" rotates in 3D via oscillating rotateX/Y transforms; 14-layer drop-shadow stack creates a warm extruded block illusion.
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
Hero displays, title cards, or any brand word that benefits from tactile 3D depth without 3D-library overhead.
When not to
Strings longer than 6–7 characters (shadow stack becomes visually noisy) or low-contrast light backgrounds.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the word to 'BOLD', set color to #00eaff, increase extrusion depth to 20 layers (d<=20), and slow the rotation by setting t+=0.01. 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 (div#word text)
- font color (#ffcf4d)
- extrusion depth (d<=14 loop)
- rotation speed (t+=0.02)
- rotation amplitude (ry=sin(t)*32, rx=cos(t*0.8)*10)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard
- visibilitychange pause/resume
- transform-style:preserve-3d + perspective on body
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Text shadow extrusion is purely 2D layered — true depth breaks if the word is rotated beyond ~45deg
- Light re-theme via the [data-theme=light] token block; catalog bg/accent describe the dark default
More Kinetic Typography components
- Weight Morph WaveEach letter of a word pulses font-weight and vertical scale in a staggered sine wave, shifting hue from cyan to blue.
- Scramble DecodeNeon-green monospace words scramble through random glyphs then lock left-to-right like a terminal decrypting. Auto-cycles; click skips to next word.
- Split-Flap BoardSix amber tiles cycle through letters to spell airport-style words (DEPART, ARRIVE, ONTIME, BOARDS) on a dark charcoal background with a rotateX flip…
- Gradient ShimmerBold "SHIMMER" text with a rainbow gradient clipped to the letterforms, continuously panning for a glossy iridescent sweep on deep umber.
- Glitch RGB SplitRed and cyan pseudo-element copies of GLITCH drift and randomly snap with clipped displacement, simulating a CRT RGB-split glitch on near-black.
- Marquee TickerTwo rows of bold words scroll in opposite directions — yellow left, teal right — with red bullet separators on a dark green background, news-ticker style.