Skip to Content

All Chat components

Every Chat component side by side, with a picture and description of each. Open one for its preview, API and install.

9 components, A to Z.

  • Chat Code Block

    chat-code-block

    Code snippet surface for AI chat replies, pinned dark in both modes, with a language label and copy to clipboard button. Lazy-loads Shiki for syntax highlighting and waits until a streamed fence closes.

  • Chat Composer

    chat-composer

    Chat input form for AI chatbots: an auto-growing textarea that stops at a fixed height and scrolls, and a send button that turns into stop while a reply streams. Enter sends, Shift+Enter adds a line.

  • Chat Conversation

    chat-conversation

    Scrolling chat transcript for AI chatbots built on Message Scroller: a polite live log that follows the streaming edge, with turn, attribution, pulsing typing cursor and shimmering status parts.

  • Chat Dock

    chat-dock

    Floating chat widget launcher that opens a docked support chat panel built on a dialog, pinned to the viewport or a container, with optional scrim and header, body and footer parts.

  • Chat Inline Component Card

    chat-inline-component-card

    Embed frame for a live component preview inside an AI chat reply: a mono caption with category, name and open link over a scaled-down preview, with helpers for citations written as double brackets.

  • Chat Message

    chat-message

    Chat bubble component for one conversation turn: the user's message in a muted bubble aligned to the end, the assistant's reply as bare text at the start. Built on Message and Bubble.

  • Chat Response

    chat-response

    Streaming AI response renderer for LLM output: splits fenced code into code blocks, sets inline backtick code in mono, and has a slot for a cursor at the end of the assistant's text.

  • Suggest Field

    suggest-field

    AI autocomplete textarea with inline ghost text: a suggestion follows the typing, Tab accepts and Esc dismisses, and a Suggest button turns into Accept beside Dismiss. The caller supplies the suggestion.

  • Voice Orb

    voice-orb

    Animated voice assistant orb for AI agents: a painted CSS cobalt tide rising into scarlet that breathes faster across idle, listening and speaking states. Decorative and reduced-motion aware.