Component libraryChat composer
Chat composer
ProWrite messages with attachments, keyboard shortcuts and send or stop controls.
npx shadcn@latest add @tidal-pro/chat-composerInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Import components/ui/tidal.css, components/ui/chat-composer.css, components/ui/textarea.css, components/ui/attachment-tray.css, components/ui/status-badge.css, components/ui/progress.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.