keshon

Streaming Text Caret

AI chats 2

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>
  );
}

More by keshon

View all
  • List

    List

    4
  • Accordion

    Accordion

  • Turn

    Turn

  • Sparkline

    Sparkline

  • Thinking

    Thinking

  • Lanes

    Lanes

  • Key Value List

    Key Value List

  • Status Dot

    Status Dot

More in AI chats

View all
  • Agent Chat

    Agent Chat

    21
  • AI Suggestions

    AI Suggestions

    27
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • AI Actions

    AI Actions

    372
  • Aquarium Prompt

    Aquarium Prompt

    223
  • Message Parts

    Message Parts

    11
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • AI Chat Composer

    AI Chat Composer

    22