AI Workspace Prompt Composer
Prompt input box for LLM models with an engine picker.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's 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.
Includes
- Auto expanding input
- Model selector
- Attachment trigger
- Shortcut submit
- Skills slash command
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
- 2 templates and blueprints on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add ai-workspace-prompt-composerInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/ai-workspace-prompt-composerUsed in
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Sample data
- Ships with sample data in
quillmind.ts; replace it with your own.
- npm packages
lucide-reactzustand- Registry dependencies
lib-ai-workspace-utilsui-buttonui-dropdown-menuui-textarea- Files
3 files
- components/templates/ai-workspace/components/quillmind/composer.tsx
- components/templates/ai-workspace/mock-data/quillmind.ts
- components/templates/ai-workspace/store/quillmind-store.ts
Related components
AI Workspace App Header
Active conversation header with rename and export options.
Details and live previewAI Workspace Message Item
Agent reply message bubble with tool execution traces.
Details and live previewAI Workspace Project Card
Project card with counters for chats and knowledge documents.
Details and live previewAI Workspace Search Dialog
Command palette and quick search for an artificial intelligence workspace.
Details and live preview