keshon

Streaming Text Caret

AI chats

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
  • AI Actions

    AI Actions

    355
  • AI Suggestions

    AI Suggestions

    21
  • AI Artifact

    AI Artifact

    14
  • Agent Chat

    Agent Chat

    21
  • AI Orb

    AI Orb

    200
  • Aquarium Prompt

    Aquarium Prompt

    129
  • AI Response

    AI Response

    16
  • Message With Header And Delivery Status

    Message With Header And Delivery Status

    64