> A component of a Premium AI Canvas design system. Index of every system, component and install setup: https://aicanvas.me/llms.txt

# Suggestion (Andromeda Pro)

Offers a proposed next move the reader can take, such as a follow-up prompt or a task lane.

- Design system: [Andromeda Pro](https://aicanvas.me/design-systems/andromeda-pro.md)
- License: Premium (proprietary)
- Install slug: `andromeda-pro-suggestion`
- Page: https://aicanvas.me/design-systems/andromeda-pro/suggestion

## Install

```bash
npx shadcn@latest add @aicanvas/andromeda-pro-suggestion
```

Requires Premium. Without a Premium token the command writes a placeholder instead of the component.

Every Andromeda Pro component at once: `npx shadcn@latest add @aicanvas/andromeda-pro`.

Token setup: the Install section of https://aicanvas.me/llms.txt.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `children` | `React.ReactNode` |  | The suggestion's label. |
| `icon?` | `React.ComponentType` |  | Icon before the label, on the rung's size. |
| `size?` | `'sm'\|'md'` | `'sm'` | Control rung: 28 / 32px tall, 12 / 14px label, 16 / 18px glyph. |
| `selected?` | `boolean` |  | Taken: the dashed frame turns solid with the selection border and tint. Passed (true or false), it sets aria-pressed and the suggestion is a toggle, a lane that can be taken; left unset, there is no aria-pressed and it is a plain button, a one-shot follow-up. |
| `onClick?` | `() => void` |  | Handler called when the element is clicked. |
| `className?` | `string` |  | Additional CSS classes applied to the root element. |
| `style?` | `React.CSSProperties` |  | Inline styles applied to the root element. |

## Remix prompt

The public part of this component's remix prompt. The rest of the build spec is part of Premium.

```markdown
Build **Suggestion**: a proposed next move the reader can take, such as a follow-up prompt, a task lane or a suggested reply. React + TypeScript, one file, named export `Suggestion`. Use framer-motion for the gestures.

It is drawn to sit on a near-black ground, `oklch(0.135 0.002 286.2)`. The component never paints that ground itself; at rest it is transparent and inherits whatever surface it is dropped on. Typeface: Manrope, falling back to the system sans.

A suggestion is a BUTTON and is drawn to look like one. That is what separates it from a tag or a badge, which are static labels: a suggestion that looked like one of them would lie about its hit area.
```

## More Andromeda Pro components

- [Tabs](https://aicanvas.me/design-systems/andromeda-pro/tabs.md)
- [Tag](https://aicanvas.me/design-systems/andromeda-pro/tag.md)
- [Textarea](https://aicanvas.me/design-systems/andromeda-pro/textarea.md)
- [Toggle](https://aicanvas.me/design-systems/andromeda-pro/toggle.md)
- [Tool](https://aicanvas.me/design-systems/andromeda-pro/tool.md)
