Composers

Message inputs with attachments, model pickers and inline AI editing, built with shadcn/ui.

Edit in DS Manager
4 shadcn blocks1 free

Prompt composer with attachments, tools and model menu

Free

Install: npx shadcn@latest add @shadcndesign/composer-1

Composer with model picker and model details

Pro

Install: npx shadcn@latest add @shadcndesign/composer-2

Document editor with inline AI rewrite

Pro

Install: npx shadcn@latest add @shadcndesign/composer-3

Prompt library with variables and preview

Pro

Install: npx shadcn@latest add @shadcndesign/composer-4

Composers

A composer block, built with shadcn/ui, is the input where users write prompts. The set has a composer with file uploads and tools, a model picker, inline rewriting in a document and a prompt library with variables.

FAQs

What should a prompt composer include?

A text area that grows with the text, a button to attach files, a send button and a stop button while the answer streams.

How should file uploads look in the composer?

Show each file as a chip with its name, size and upload progress, with a remove button and an error state.

Where should the model picker go?

Next to the send button, so users can see and change the model before they send.

Which keyboard shortcuts should it support?

Enter to send and Shift+Enter for a new line, since that is what most users expect.