@redrob-labs/ui v1.0.2 · Redrob Group Design System 2026

PromptSuggestions

Agent chat · src/components/PromptSuggestions/PromptSuggestions.tsx

A few things worth asking, for an empty chat.

The list item wraps the button rather than being the button, so each one is still announced as a button inside a list - a listitem with a click handler is a list entry a screen reader cannot press.

Import

import { PromptSuggestions } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
items Array<PromptSuggestion | string>
label string
className string
onSelect (value: string | undefined, item: PromptSuggestion | string) => void

Exported types

PromptSuggestion