AI

Prompt Suggestions

Starter prompts for an empty chat: cards with icons, or chips that scroll on phones.
import { PromptSuggestions } from "pleate/ai/prompt-suggestions";

Grid, chips and list

Props

suggestions

Items.

{ title, description?, icon?, prompt }[]

onSelect

Choice.

(prompt, suggestion) => void

variant

Cards, capsules, or an inset grouped list with chevrons.

"grid" | "chips" | "list"default "grid"