Home / AI Era Interfaces / Streaming Text

Streaming Text CSS Template, Free with Live Demo

Free streaming text UI template where AI text types itself out word by word with a blinking cursor. Built for meeting notes. Live demo and HTML download. The example is Recap, an AI meeting notes tool.

Open live demoDownload HTML fileView code on GitHub
Streaming Text CSS template example: Recap, an AI meeting notes tool

What is streaming text?

Streaming text is the word by word typing effect you see when an AI writes an answer. It tells people something is happening and lets them start reading before the whole answer is ready.

This template streams real formatted HTML, with headings and lists, not just plain text. A blinking block cursor follows the words, and a status dot switches from writing to ready.

Good for

  • AI writing and summary tools
  • Chat assistants
  • Onboarding messages
  • Product demos on landing pages

What you get in this template

The key CSS

This is the part that makes the streaming text look work. Copy it into your own project.

.cur {
  display: inline-block;
  width: .55em; height: 1.1em;
  background: #22231f;
  vertical-align: -.15em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cur { animation: none; } }

How to use it

  1. Click Download HTML file above.
  2. Open the file in any code editor, like VS Code.
  3. Change the text, colors and links to match your project. Colors are at the top of the style tag.
  4. Upload it to any host, such as GitHub Pages, Netlify or your own server. It is one file with no build step.

Questions people ask

How do you make a typing effect in JavaScript?

Split the text into words and add one word at a time with setInterval. To keep formatting, walk through the text nodes of your HTML and fill each one in turn, as this template does.

How do I stream a real AI response?

Most AI APIs can stream. Read the response body as a stream and append each chunk to the page as it arrives, instead of using a timer.

How do you make a blinking cursor in CSS?

Use a small inline block with a background color and an animation that sets opacity to 0 halfway, with steps(1) so it blinks instead of fading.

More AI Era Interfaces designs