Sep 1, 2025
0 views
A configurable typewriter headline for Framer. Displays a fixed lead-in plus a rotating list of phrases, typed and erased with a blinking caret. Tunable typing speed, hold time, caret style, layout (inline/stacked), and full typography controls.
//
Tags
Add to your Framer project and place on the canvas.
Set Fixed Text (mainTitle) and Rotating Phrases (animatedTitles).
Adjust Typing Speed, Display Duration (hold), Initial Delay, and Repeat.
Style with Typography, Fixed/Animated Text Color, and Cursor Style.
Choose Text Arrangement: inline (side-by-side) or stacked (new line).
Preset A – Default Hero: “Designs that” + phrases: “convert & captivate” … speed=60ms, hold=1600ms, caret |
Preset B – Fast Tagline: speed=30ms, hold=800ms, blink=300ms, layout=inline
Preset C – Minimal Stacked: layout=stacked, fontSize=32, caret _, colors: main #111, animated #555
Maintains index (phrase), subIndex (char position), and deleting flags.
Typing/deleting steps scheduled with setTimeout(typeSpeed).
After fully typed, waits holdTime then switches to deleting.
On reaching 0 chars, advances to next phrase; loops if loop=true.
Caret blinking toggled via setInterval(caretBlinkSpeed); blink is CSS opacity.
Typing uses setTimeout; no layout thrash; safe for most devices.
Smaller typeSpeed = faster typing; tune holdTime for rhythm.
Long strings are fine; avoid extremely large phrase arrays for readability.
Modern browsers; no WebGL/RAF required.
Uses inline styles; adopt tokens if you need theme-wide control.
Text renders as real DOM text (copyable/selectable).
Pure text output; readable by screen readers.
Motion sensitivity: consider exposing a toggle or respecting prefers-reduced-motion (pause typing & caret).
Ensure color contrast for both fixed and animated text.
No network calls or storage.
No dangerouslySetInnerHTML or eval.
All timers are cleared on unmount.
Pure text output; readable by screen readers.
Motion sensitivity: consider exposing a toggle or respecting prefers-reduced-motion (pause typing & caret).
Ensure color contrast for both fixed and animated text.
No network calls or storage.
No dangerouslySetInnerHTML or eval.
All timers are cleared on unmount.
Implementation & Framer adaptation by SecretoCho Design.
SecretoCho Design 2025
Provided “as is” for visual/UX purposes. Validate accessibility (contrast, motion), and performance within your layout.
Stay ahead of the curve with insights into emerging visualization trends and technologies.