PromptSuggestion

A pill-shaped suggestion chip that populates the prompt input when clicked — ideal for empty-state starter prompts.

import { PromptSuggestion } from "@aetherstack/ui"

Installation

terminal
npx aether-ui add prompt-suggestion

Import

import.tsx
import { PromptSuggestion } from "@aetherstack/ui"

Usage

promptsuggestion.tsx
import { Sparkles } from "lucide-react"

<PromptSuggestion
  label="Brainstorm ideas"
  icon={<Sparkles className="h-3.5 w-3.5" />}
  onClick={() => setValue("Brainstorm ideas for my project")}
/>

Props

PropTypeDefaultDescription
label*stringButton label text.
iconReact.ReactNodeOptional icon rendered before the label.
onClick() => voidClick handler — typically sets the prompt input value.
classNamestringAdditional CSS classes.

* Required