Measured entry
hextaui-ai-suggested-prompts
A client-side React card for browsing, searching, filtering, and selecting suggested AI prompts. It ships as shadcn registry source rather than a standalone package, and composes local Badge, Button, Card, Input Group, and Separator primitives with Lucide icons, React state, and a shared class-name utility.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 35.1 KB (100.5 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 2m 25s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/blocks/ai/ai-suggested-prompts.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A solid fit for an AI prompt library, with useful states and callbacks already covered. It built and mounted cleanly in the prepared harness, but the bare mount fails because it needs a shadcn-style setup and the expected local utility and primitive paths.
Use it if
- You want a ready-made prompt browser with search, category filtering, empty states, and selection callbacks.
- Your product already uses shadcn-style primitives and Tailwind theme tokens.
- You need configurable prompt data, optional usage badges, and keyboard navigation in one card.
Skip it if
- You need a compact row of prompt chips rather than a full card with search and filters.
- Your design system cannot absorb copied shadcn primitives and Tailwind utility classes.
- Your page already owns global search or arrow-key shortcuts, since this component registers window-level keyboard handlers.
Install
| Declared dependencies | @radix-ui/react-slot, @radix-ui/react-separator |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add React and Lucide icons, Radix Slot and Separator support, Tailwind with the referenced theme tokens, a cn class-name helper, and compatible Badge, Button, Card, Input Group, and Separator components. Rewrite the alias imports to match your project.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/preetsuthar17/HextaUIAlternatives
Other published entries for the input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- hextaui-labelminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO