# Prompt Suggestion

> A component for implementing interactive prompt suggestions in AI interfaces. The PromptSuggestion component offers two distinct modes:  Normal Mode: Renders clickable, pill-shaped buttons ideal for suggesting quick prompts in chat interfaces Highlight Mode: Provides text highlighting to highlight a part of the suggestion

- Author: [Julien Thibeaut](https://21st.dev/@ibelick)
- Library: [Prompt Kit](https://21st.dev/@ibelick/library/prompt-kit)
- License: mit
- npm dependencies: class-variance-authority
- Live preview: https://21st.dev/@ibelick/components/prompt-suggestion

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/ibelick/prompt-suggestion?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
