Skip to content
OwnlyPlans

Element

AI Typing Reply

A chat reply that shows a typing indicator, then streams the answer word by word with a blinking caret. Replayable.

Remix

Preview and code

Markdown
AI interfaces

Install

shadcn CLI
npx shadcn@latest add https://ownlyplans.com/r/bhaskar/ai-typing-reply.json

Adds the React files to components/ownlyplans/ in a project set up with shadcn and Tailwind CSS. Or copy them from the Code tab.

About

The two states every AI chat needs: “thinking” and “streaming”. The dots pulse while you wait, then the reply arrives a few words at a time with a caret, exactly like a streamed model response. Swap the fake stream for your real one: append each chunk you receive to the bubble.

The bubble is a live region, so screen readers announce the finished answer once.

Your AI tool
Starter prompt

		

Download the plan