Text Generate Typewriter
Installation
Add sound file
Download the sound file and place it in your public/sounds/ folder:
- sound.ogg - Audio sprite file containing all key sounds
Each character types with a realistic key-down sound, followed by a key-up sound when the character appears. The component uses an audio sprite containing mechanical keyboard samples for every letter.
When a word completes, the component pauses, then plays a backspace key-down sound and rapidly deletes characters. The backspace key-up sound plays once all characters are removed, simulating a press-and-hold deletion.
The final word stays on screen with a period typed at the end. The cursor then blinks at a comfortable 530ms interval.
Animation only triggers when the component enters the viewport (IntersectionObserver with 0.1 threshold) and runs exactly once.
Explore more
Part of Text Animations · All blocks
Build websites faster and 10x better than your competitors with
Aceternity UI Pro
Next.js 15, Tailwind CSS v4 and Motion for react powered templates
200+ templates and blocks combined
Ready to copy paste component blocks, save days of development time


