Measured entry

kokonut-action-search-bar

inputdark-futuristicmotion on file

A client-side React command search that filters supplied actions, supports keyboard traversal, and animates its result list. It ships as a shadcn registry component with a debounce hook and Input primitive, and depends on Tailwind theme utilities, lucide-react, Motion, and project path aliases.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of kokonut-action-search-bar at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-action-search-bar at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-action-search-bar at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for kokonut-action-search-bar
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal71.6 KB (137.0 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 59.07s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/input.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A capable visual starting point for a small command finder, with clean verified behavior in the prepared harness. It is still demo-oriented because selection only updates local state and performs no action. It needs a shadcn-style setup and does not mount as a bare drop-in.

Use it if

  • You need a compact command finder over a small action list already available in the browser.
  • Your interface already uses shadcn conventions, Tailwind theme tokens, and animated disclosure patterns.
  • You want arrow-key traversal and click selection as a starting point for a command menu.

Skip it if

  • You need remote search, ranked results, loading states, or error handling out of the box.
  • You need selection to navigate or execute commands without adding your own callback contract.
  • You want to avoid Motion and its client-side footprint for a small input interaction.
  • Your design system cannot supply the shadcn Input primitive, theme tokens, and alias layout it imports.

Install

Installation record for kokonut-action-search-bar
Declared dependencieslucide-react, motion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add the aliased component and hook paths, copy the debounce hook, provide the Input primitive and its cn utility, configure Tailwind theme tokens, and install lucide-react and Motion. Then replace the sample actions and wire selection to real behavior.

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.

Alternatives

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.