About
A small blinking cursor placed after the last character of streaming text to show that more content is still arriving.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Streaming Text Caret to your project and fits it to your theme.
Code
How Streaming Text Caret is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Caret from "@/components/ui/caret";
export default function CaretDemo() {
return (
<div className="flex min-h-[260px] w-full items-center justify-center bg-background p-8">
<p className="max-w-md text-base leading-relaxed text-foreground">
Thinking through the problem, weighing a few approaches before settling
on the simplest one
<Caret />
</p>
</div>
);
}
















