Skip to main content

Typewriter Text

Animated text that appears character by character with a typewriter effect and blinking cursor

The Prompt

Generate the text "Hello world" with world in yellow highlighting. Black text, white background. That words should be shown next to each other in the center of the screen.

Animation: Let the words fade in from left to right and then highlight "world" yellow. Mimic a typewriter effect for the text appearance with a blinking cursor at the end of the text.

What This Generates

This prompt creates a classic typewriter animation effect with:
  • Text that appears character by character from left to right
  • A blinking cursor at the end of the text during typing
  • Yellow highlighting applied to specific words after typing completes
  • Clean black text on white background
  • Centered positioning on screen

Key Features

The text appears gradually, character by character, mimicking the appearance of someone typing on a typewriter. This creates anticipation and draws attention to the message.
A cursor blinks at the end of the text while typing, adding authenticity to the typewriter effect and making it feel more dynamic.
After the text completes typing, specific words can be highlighted in a different color to emphasize key parts of your message.

Customization Tips

Change the Text

Replace "Hello world" with your own message. You can make it as short or long as you need.

Adjust Colors

  • Change yellow highlighting to any color (e.g., “red highlighting”, “blue highlighting”)
  • Modify Black text, white background to match your brand colors

Control the Speed

Add timing instructions like:
  • “Type slowly” or “Type quickly”
  • “Pause for 2 seconds before highlighting”

Highlight Different Words

Specify which words should be highlighted:
  • “Highlight the first word in blue”
  • “Highlight all capital words in red”

Use Cases

  • Product announcements
  • Tutorial introductions
  • Quote displays
  • Social media content
  • Educational videos
  • Call-to-action messages
For longer text, consider breaking it into multiple lines or paragraphs in your prompt to maintain readability.

Build docs developers (and LLMs) love