Skip to Content

Use Suggest

Autosuggest React hook: a client hook that sends text to a suggestion endpoint and returns one suggestion with loading and error state. A new request aborts the previous one; clear resets it.

Installation

pnpm dlx shadcn@latest add @01orbital/use-suggest

Last updated on

On this page