AI Primitives

Components / Prompt / Prompt Suggestion

Prompt Suggestion

Suggested-prompt pills, or a highlighted-match list for autocomplete.

Installation

Install the Prompt Suggestion React component with the shadcn CLI (after adding the @ai-primitive registry and theme, see Installation):

npx shadcn@latest add @ai-primitive/prompt-suggestion

Usage

import { PromptSuggestion } from "@/components/ui/prompt-suggestion"

Previous: System Message · Next: Chat Container