Launch priceOne payment

Suggested Prompts

Real questions a new chat can offer, each with a line on what the answer will contain. Prompts that carry a category get tabs, `limit` shows a few at a time with Shuffle for the rest, and the whole set is one Tab stop moved through with the arrow keys.

Ready for AI tools one file typed props installs by name prompt included

Installation

How you get it

Paste this into Claude Code, Cursor, Codex or any coding agent. It installs the file and uses it as it is, instead of writing a new one.

Use Layro's Suggested Prompts for this.
Install it: npx shadcn@latest add @layro/suggested-prompts
Import it from @/components/ui/suggested-prompts.
Do not rewrite or restyle it. Pass my data through its props
and keep its built-in states.

For the full brief with every prop and the mistakes assistants usually make, use Copy prompt above. Pro components install through the @layro registry with your CLI token: see the Namespaced tab.

API

“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.

Props

Read from the component’s own TypeScript interface when the site is built, so this table cannot drift from the file you install.

PropTypeNotes
promptsrequiredSuggestedPrompt[]—
onSelect(prompt: SuggestedPrompt) => void—
variant"cards" | "chips" | "list"Default `cards`.
columns1 | 2 | 3Columns for `cards` once the component is 440px wide. Default 2.
categoriesbooleanShow tabs when prompts carry a category. Default true.
limitnumberShow this many at a time, with "More ideas" for the rest.
headingReact.ReactNode | falseThe small heading. Pass `false` to hide it.
disabledboolean—

Dependencies

npm packages

clsxframer-motionlucide-reacttailwind-merge

Layro foundations, installed alongside it

layro-themebuttontabs

Lifetime access

Every component, and everything we ship next.

  • All 112 components, source included
  • The template, and everything released after you buy
  • shadcn CLI or download — React 18/19, Tailwind v4
  • One payment. No subscription.

More in AI Chat

All AI Chat components