Measured entry
kokonut-ai-input-search
inputdark-futuristicmotion on file
A client-side React search composer with an auto-growing textarea, file picker, animated web-search toggle, and submit callback. It ships as a shadcn registry component and hook, and depends on Motion, Lucide icons, the shadcn Textarea, a local cn helper, and path aliases.



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 | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 70.6 KB (136.0 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 1m 24s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/kokonutui/ai-input-search.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A polished starting shell for an AI search composer, but not production-ready unchanged because an icon-only action lacks an accessible name. It builds and mounts in the prepared harness, while bare use fails and needs a shadcn-style setup.
Use it if
- You need a compact AI or web-search prompt composer with multiline input and keyboard submission.
- Your app already uses shadcn conventions and can reuse its Textarea, utility helper, and import aliases.
- You want an attachment affordance and an animated search-mode toggle in the input shell.
Skip it if
- You need an accessible component without remediation, since an icon-only button lacks a discernible name.
- You want a drop-in component for a plain React project with no shadcn-style scaffolding.
- You need the attachment and search controls to perform real work out of the box; they currently expose only local UI behavior.
Install
| Declared dependencies | motion |
|---|---|
| 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 the Textarea primitive, the included auto-resize hook, a cn class-merging helper, Lucide React, Motion, Tailwind-compatible styles, and matching import aliases. Add accessible labels to icon-only controls and wire attachment and search-mode behavior to your application.
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/kokonut-labs/kokonutuiAlternatives
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