Skip to content
Get Pro

Follow-up Suggestions

Contextual next-step prompts that invite a useful continuation after an answer.

Loading component preview…

Installation

Add the component source directly to your project.

pnpm dlx shadcn@latest add https://pastaui.com/r/follow-up-suggestions.json

API reference

Follow-up Suggestions

Follow-up Suggestions properties
PropTypeDefaultDescription
itemsFollowUpSuggestion[]Provides the numbered next-step options.
selectedIdstringControls the currently selected suggestion.
onSelect(id: string) => voidSubmits a selected suggestion.
onDismiss() => voidDismisses the suggestion card.