Arihant jain

Chat Empty State

Component 5

About

A first-run greeting panel for a chat/AI assistant interface that shows a title, subtitle and staggered animated suggestion chips for the user to pick a starting prompt.

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

Code

How Chat Empty State is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  ChatEmptyState,
  type SuggestedPrompt,
} from "@/components/ui/chat-empty-state";

const prompts: SuggestedPrompt[] = [
  { id: "1", label: "Summarize this document" },
  { id: "2", label: "Write a product update" },
  { id: "3", label: "Brainstorm blog ideas" },
  { id: "4", label: "Explain a concept simply" },
];

export default function ChatEmptyStateDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <ChatEmptyState
        prompts={prompts}
        onSelectPrompt={(p) => console.log(p)}
      />
    </div>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    697
  • Animated Drawer

    Animated Drawer

    686
  • Status Badge

    Status Badge

    494
  • Stacked Circular Footer

    Stacked Circular Footer

    413
  • Input Modal

    Input Modal

    313
  • Large Name Footer

    Large Name Footer

    193
  • Profile Dropdown

    Profile Dropdown

    187