Vibary.ai
← Vibe Coding

Streaming Text Reveal

Words arrive one at a time behind a soft caret — the answer is being written, not loaded.

aicalmfuturisticautomatic · finite · starter · ~1.6s
Variant

The animated component in this preview is rendered from the canonical file shown here. The surrounding demo shell only provides context and is not part of the copied code.

166 lines · react + motion only
import { Fragment, useEffect, useRef, useState } from "react";
import { motion, useReducedMotion } from "motion/react";

/**
 * Vibary · Streaming Text Reveal
 *
 * Words arriving one at a time, the way a model streams them, with a
 * soft caret parked at the write head.

About this pattern

The default shape of a generated answer: text lands word by word while a caret marks the write head. Streaming converts dead waiting time into readable progress — the first sentence can be read while the rest is still arriving, which makes a four-second response feel shorter than a one-second spinner. Words fade into place and never scale, because deformed glyphs are the fastest way to make text look cheap.

Chat responseGenerated summaryInline rewriteAnswer streaming

Where it shows up

Screens we drew to show where this motion usually sits. Illustrations, not captures of any product.

  • 10:15
    Summarise the supplier contract and flag anything unusual.
    The renewal runs another twelve months at the same rate, with one clause worth a second look.
    Ask a follow-up
    AI assistant

    Responses render progressively as the model streams them.

Related patterns