# FollowUps

Short next steps after a response, as chips with a lead word: "Then: Shorter · Add numbers".

- **Use it for**: Short next steps after an answer, such as Shorter or More formal.
- **Not for**: Fresh prompts to start a new question. Try [Suggestions](https://unseenui.com/components/suggestions/).

## Installation

```bash
npm install @stackunseen/ui
```

## Usage

```tsx
import { FollowUps } from '@stackunseen/ui';
import '@stackunseen/ui/styles.css';

<FollowUps items={[{ id: "shorter", label: "Shorter" }]} onSelect={send} />
```

## All props

| Prop | Type | Description |
| --- | --- | --- |
| `disabled` | `boolean` |  |
| `items` (required) | `readonly FollowUp[]` |  |
| `label` | `string` | Names the group for assistive technology. |
| `lead` | `string` | Printed before the chips; "Then" by default. |
| `onSelect` (required) | `(item: FollowUp) => void` | Called with the chosen item; your app sends the follow-up and shows what it did. |

## Keyboard

Tab reaches controls; Enter or Space activates buttons. Accordions use arrow keys, Home and End. Select menus support arrows and typeahead; Escape closes menus and dialogs and restores focus.

## Works with

[Reasoning](https://unseenui.com/components/reasoning/), [SuggestTextarea](https://unseenui.com/components/suggest-textarea/), [Checkpoint](https://unseenui.com/components/checkpoint/), [SlashCommandMenu](https://unseenui.com/components/slash-command-menu/), [ThreadList](https://unseenui.com/components/thread-list/), [BranchSwitcher](https://unseenui.com/components/branch-switcher/), [MessageQueue](https://unseenui.com/components/message-queue/), [PromptInput](https://unseenui.com/components/prompt-input/), [Message](https://unseenui.com/components/message/), [MessageActions](https://unseenui.com/components/message-actions/), [StreamingResponse](https://unseenui.com/components/streaming-response/), [Suggestions](https://unseenui.com/components/suggestions/)

Page: https://unseenui.com/components/follow-ups/
