# AI Workspace Prompt Composer

Prompt input box for LLM models with an engine picker.

- id: `ai-workspace-prompt-composer`
- Page: https://agentic-ui-kit.com/components/ai-workspace-prompt-composer
- Live preview: https://agentic-ui-kit.com/live/piece/ai-workspace-prompt-composer?piece=ai-workspace-prompt-composer

## Install

```bash
agentic-ui add ai-workspace-prompt-composer
npx shadcn@4.17.0 add @agentic-ui/ai-workspace-prompt-composer
```

## Metadata

- **Level:** block
- **Category:** block
- **Template:** Quillmind AI Workspace
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** auto-expanding-input, model-selector, attachment-trigger, shortcut-submit, skills-slash-command
- **Intents:** create-edit, communicate
- **Suits domains:** ai-workspace, devtools, personal-productivity, saas, support
- **Interaction:** text-input, model-select, enter-to-submit, attach-click
- **Screen role:** communication
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** prompt input box for LLM models with an engine picker, message field for autonomous agents with attachment upload, conversational composer in support tools and smart tickets
- **Avoid when:** rigid tabular data entry forms
- **Preserve when adapting:** interaction-model, model-dropdown-integration, submit-shortcut
- **Replace when adapting:** model-catalogs, slash-command-triggers, placeholder-copy
- **Adaptation effort:** low
- **Coupling:** low
- **Quality score:** 9.35/10
- **Quality breakdown:** visual 10/10, responsive 9/10, accessibility 8/10, code 9/10
- **Uses primitives:** textarea, button, dropdown-menu
- **npm dependencies:** lucide-react, zustand
- **Used in:** Quillmind AI Workspace (template), AI App (blueprint)
- **npm dependencies (registry):** lucide-react@0.577.0, zustand@5.0.8
- **Registry dependencies:** lib-ai-workspace-utils, ui-button, ui-dropdown-menu, ui-textarea
