Files
wehub-resource-sync e30e75b5d4
Changesets / Create Version PR (push) Waiting to run
Code Quality / Oxlint + Oxfmt (push) Waiting to run
Code Quality / Template Sync (push) Waiting to run
Code Quality / Build Changed Packages (push) Waiting to run
Code Quality / Test Changed Packages (push) Waiting to run
Deploy Expo Example / Deploy Production (push) Waiting to run
Deploy Ink Example / Deploy Production (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.12) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Waiting to run
Deploy Shadcn Registry / Deploy Production (push) Waiting to run
Template Metrics / LOC + Bundle Size (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:40:13 +08:00
..

@assistant-ui/ui

Internal monorepo-only package. Not published to npm.

This is the source of truth for the styled, shadcn-style components that ship to user projects via the assistant-ui CLI:

npx assistant-ui@latest add thread
npx assistant-ui@latest add thread-list assistant-modal

The CLI fetches each component from the shadcn registry served at r.assistant-ui.com (built from apps/registry), which in turn reads its inputs from this package's src/components/. Inside the monorepo, the docs site and registry build also depend on this package directly so we avoid maintaining two copies.

Layout

Path Contents
src/components/assistant-ui/* Assistant-specific components (thread, message, composer, attachment, etc.).
src/components/ui/base/* Standard shadcn-style Base UI components (button, dialog, sheet, etc.).
src/components/ui/radix/* Radix-flavor shadcn-style components (button, dialog, sheet, etc.).
src/hooks/* Shared hooks consumed by the components above.
src/lib/* Utility helpers (cn, formatters, etc.).

Exports use direct file paths (no barrel) so the CLI can copy individual files cleanly.

Editing

When you change a component here, the change reaches end users only after the registry rebuilds and a new version of the assistant-ui CLI is published. See apps/registry for the build pipeline.