Components
Follow-up Suggestions
A compact follow-up input with clickable suggestion chips.
Installation
npx shadcn@latest add https://ai-native-ui.com/r/follow-up.jsonUsage
import { FollowUp } from "@/components/ui/follow-up";
<FollowUp
suggestions={["Identify key trends", "Find more sources"]}
onSend={(text) => ask(text)}
/>;Props
| Prop | Type | Description |
|---|---|---|
suggestions | string[] | Suggestion chips. |
placeholder | string | Input placeholder. |
onSend | (text: string) => void | Fires on submit / chip click. |
onSelect | (text: string) => void | Overrides chip behavior when set. |