Package: @hexos/react-ui

Quick reply suggestion chips for common user actions.

Renders a grid of clickable suggestion buttons that trigger the onSelect callback when clicked. Useful for empty states to guide initial user engagement or for providing contextual action shortcuts.

Returns null if the suggestions array is empty, allowing conditional rendering without explicit checks.

Example

<QuickReplies
  suggestions={['Hello', 'Help me with...', 'Show examples']}
  title="Try asking:"
  onSelect={(text) => sendMessage(text)}
/>
function QuickReplies(props: QuickRepliesProps): React.ReactElement | null

Parameters

props