Kevin

Text Response

AI chats

About

Clean prose styling for an AI assistant's text answer with paragraphs and inline code.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Response to your project and fits it to your theme.

Code

How Text Response is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TextResponse } from "@/components/ui/text-response";

export default function Default() {
  return (
    <div className="flex min-h-[360px] w-full items-center justify-center px-8 py-12">
      <div className="w-full max-w-[440px]">
        <TextResponse>
          <p>
            Here&apos;s a quick summary of the plan. The migration touches{" "}
            <strong>three</strong> modules and is safe to run incrementally, so
            we can ship it without a maintenance window.
          </p>
          <p>
            I&apos;d recommend starting with the <code>auth</code> service, then
            rolling out the <code>billing</code> and <code>notifications</code>{" "}
            workers behind a feature flag.
          </p>
          <p>
            Once traffic looks healthy, remove the old <code>legacy_users</code>{" "}
            table and we&apos;re done.
          </p>
        </TextResponse>
      </div>
    </div>
  );
}

More by Kevin

View all
  • Image Generation

    Image Generation

    343
  • Thinking Reasoning

    Thinking Reasoning

    97
  • Agent To-do List

    Agent To-do List

    72
  • Orbs Morph

    Orbs Morph

    39
  • Web Search

    Web Search

    39
  • Orbs Helix

    Orbs Helix

    35
  • AI Agent Input

    AI Agent Input

    34
  • File Diff

    File Diff

    22

More in AI chats

View all
  • AI Actions

    AI Actions

    372
  • Agent Chat

    Agent Chat

    21
  • Aquarium Prompt

    Aquarium Prompt

    212
  • Illos Knowledge Sources

    Illos Knowledge Sources

    71
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    32
  • AI Chat Composer

    AI Chat Composer

    17
  • AI Response

    AI Response

    16
  • Thumbs pour

    Thumbs pour

Explore more

Part of AIcss — browse the full library on 21st.dev.