Components

56 components across 9 categories. Built with Tailwind CSS for consistency and flexibility.

Actions

Interactive button and link components

AI

AI chat and assistant interface components

Typing Indicator

Animated indicator showing the AI assistant is generating a response.

File Attachment

Display attached files with preview, upload progress, and status indicators.

AI Code Block

Syntax-highlighted code block optimized for AI chat with copy button, language indicator, and streaming support.

Message Actions

Action buttons for chat messages including copy, regenerate, edit, and feedback.

Chat Message

Individual message bubble for AI chat interfaces with support for user and assistant roles.

Message Input

Compose and send messages with auto-resizing textarea, attachments, and send button.

Conversation List

Sidebar list of conversation threads with active state, previews, and timestamps.

Artifact Panel

Side panel for viewing and interacting with AI-generated artifacts like code, documents, and previews.

Model Selector

Dropdown to switch between AI models with capability indicators.

Token Counter

Display token usage and remaining capacity with visual progress indicator.

Regenerate Button

Button to retry generating an AI response with loading state.

Stop Generation

Button to halt AI response generation mid-stream.

Streaming Cursor

Animated cursor indicator showing AI is actively writing text.

Suggested Prompts

Starter questions and prompt chips to help users begin conversations.

Citation Card

Display sources and references cited by the AI in responses.

AI Error State

Error displays for rate limits, API errors, and content warnings.

System Prompt Editor

Editor to customize AI behavior and instructions.

Temperature Slider

Slider to adjust AI creativity and randomness settings.

Context Indicator

Shows what files, documents, or context the AI is currently using.

Voice Input Button

Button to trigger speech-to-text input for hands-free messaging.

Image Upload Zone

Multi-modal input area for uploading images to AI conversations.

Export Share Menu

Menu for exporting and sharing conversation content.

Conversation Search

Search bar to find messages within conversation history.

Base

Foundational design tokens and styles

Data Display

Components for displaying information

Feedback

User feedback and notification components

Forms

Form inputs and controls

Layout

Layout and structure components

Navigation

Navigation and wayfinding components

Overlays

Modal, dialog, and overlay components