Skip to content

Prompt Suggestion

A button-based component for displaying prompt suggestions in AI interfaces. It renders standard buttons or highlighted text based on provided props. It switches between normal and highlight modes depending on the presence of a highlight string. Use it to offer interactive suggestions in AI-driven applications.

byJulien Thibeautfrom Prompt Kit

Loading preview

Installation

terminal
pnpm dlx layro-cli add @ibelick/prompt-suggestion

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Dependencies
Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 7, 2026

    First release.

Similar components