Skip to content

PromptSuggestionList

Open .md
Live preview

Loading example…

Wrapping group of suggestion chips.

import { PromptSuggestionList } from "@jcsoftdev/ui/ai";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/ai/prompt-suggestion.

<PromptSuggestionList>
¿Qué turnos libres hay mañana?
</PromptSuggestionList>
Prop Type Default Description
label string "Sugerencias"

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/ai/prompt-suggestion/prompt-suggestion.tsx