saturation/uisaturation/ui
DocsComponentsBlocksPagesEmails
GitHub

Sections

IntroductionComponentsInstallationMCPThemingDesign

Components

Components

General

AvatarBadgeButtonKbdProgressSeparatorSkeletonSpin ResolveSpinnerSync ButtonTypography

Forms & Inputs

Address LookupCalendar PickerCheckboxComboboxDate PickerEmoji PickerFavicon SearchFieldInputInput GroupInput OTPRadio GroupSelectSliderSwitchTextareaToggleToggle Group

Data Display

AccordionAlertCardChartComparison SliderCredit CardData TableEmptyItemSaturation Credit CardTableTree

Navigation

BreadcrumbCommandMenubarNavigation MenuPaginationTabs

Overlays

CollapsibleContext MenuDialogDropdown MenuSheet

Layout

Button GroupFont ProviderWizard Split Layout

Feedback

Sonner

Animation & Effects

Animated GroupAnimated ListAnimated NumberBeamBlur FadeBorder TrailGlow EffectLiquid MetalLoading StateParallaxPixelProgressive BlurRippleSpotlightText EffectText Shimmer

Productivity

Agent ChatAI Chat InputCoding AgentFiltersFull CalendarKanbanNovel Editor
Docs/Components/Agent Chat

Agent Chat

Production-grade chat composer with attachment menu, canvas/plan pill, model picker, file pills, and send/stop toggle — matching the Saturation agent UI.

Loading...

Installation

pnpm dlx shadcn@latest add @saturation-ui/agent-chat

Tailwind v4 — Source Scanning

The public shadcn registry installs component source into your project. If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:

@source "../components";

This ensures all utility classes in CVA variants and data attribute selectors are included in your build.

Usage

import { AgentChat } from "@/components/ui/agent-chat"
<AgentChat onSend={handleSend} />

API Reference

PropTypeDefaultDescription
onSend(message: string, files?: File[]) => void—Send message handler.
placeholderstring"Ask anything"Input placeholder text.
modelsModel[]—Available AI models for the model picker.
isThinkingboolean—Whether the agent is currently processing.
onStop() => void—Stop/cancel handler for the stop button.
PreviousAddress LookupNextAI Chat Input

On This Page

  • Installation
  • Usage
  • API Reference
budget-v3.pdf
crew-list.csv
location-scout.jpg