App, assistant composer
- from @klarhimmel
The box a person writes to an assistant in, drawn by ChatComposer (the one chat input): a rounded pill with + for files, attachments as chips and a round send. Five states set by the state prop: ready, filled, sending (send becomes a quiet stop), disabled (with a notice), over the length limit (red edge, count, a line on how to fix it). Enter sends, Shift+Enter adds a line; no hint line. hint is kept for stored pages and not drawn.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @klarhimmel/app-assistant-composer