GodUI

Prompt Suggestions

Animated starter prompts for AI empty states — cards stagger in, lift on hover, and feed straight into the composer when chosen.

What can I help with?

Pick a starter or type your own.

Installation

pnpm dlx shadcn@latest add "https://godui.design/r/prompt-suggestions.json"

Suggestions stagger in with a spring, lift on hover, and support arrow-key navigation. Pair onSelect with a controlled PromptComposer to drop the chosen prompt into the input. Set loading to show shimmering skeletons.

Usage

tsx
 
import { PromptSuggestions } from "@/components/godui/prompt-suggestions";
tsx
 
<PromptSuggestions
  variant="grid"
  suggestions={suggestions}
  onSelect={(suggestion) => setValue(suggestion.label)}
/>

Props

PropTypeDefaultDescription
suggestionsPromptSuggestion[]Items to render.
onSelect(suggestion) => voidFired when an item is chosen.
variant"grid" | "chips" | "list""grid"Layout style.
loadingbooleanfalseRender shimmer skeletons.
skeletonCountnumber4Skeletons shown while loading.

On this page

Built with GodUI

Beautifully crafted motion components for modern interfaces.

Star on GitHub