Skip to content

Suggestions

A wrap of suggested-prompt pills, shown on the empty state.

Source

import { Suggestions } from "@flanksource/clicky-ui/chat";
Default · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — —
onSelect* (…) => void — Called with the suggestion's prompt text when a pill is clicked.
suggestions* Suggestion[] — —