AI Slash Commands
Command palette that drops down when typing / in the composer of an assistant or engineering chat.
About this block
What it's for
- Command palette that drops down when typing / in the composer of an assistant or engineering chat.
- Menu for invoking external tools, MCP calls and subagents in an AI work environment.
- Quick selector to change the model, adjust temperature or reset the context of a conversation.
For global search of entities across the whole system without chat interaction, use Search Global Palette. For selecting files or context attachments for a prompt, use AI Context Picker.
Includes
- Slash trigger
- Command filtering
- Parameter prompts
- Argument execution
- Category tabs
- Keyboard navigation
- Roving selection
- Tool integration
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add ai-slash-commandsnpx shadcn@4.17.0 add @agentic-ui/ai-slash-commandsUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
1 file
- components/agentic-ui/ai-slash-commands/index.tsx
Related components
AI Action Confirmation
Operations agent that asks to drop production tables and shows the rows, size and last use of each one.
Details and live previewAI Agent Memory Viewer
Assistant settings where the user reviews and corrects what the agent knows about them (time zone, style preferences).
Details and live previewAI Agent Status Badge
Header of an agent run that moves from working to waiting-approval and opens the approval on click.
Details and live previewAI Chat Empty State
Assistant chat with no messages that offers four starting points configured by the workspace.
Details and live preview