AI Primitives

Components / Chat / Chat Demo

Chat Demo

A full conversation - chat bubbles, prompt input, and a dummy AI reply wired together.

Usage

import { ChatMessages } from "@/components/chat-prototype"

Related components

  • Chat Bubble - Message bubble primitives - avatars, filled/no-background appearances, timestamps, and actions.
  • Prompt Input - Auto-resizing chat input with attachments, an action menu, and a compact pill mode.
  • Chat Container - Auto-scrolling chat viewport that sticks to the bottom as messages stream in.

Previous: Prompt Input · Next: Loader