Measured entry

originui-search-27

inputunclassified

A client-side React search field shipped as shadcn registry source. It composes the registry Input and Label, Lucide search, loader, and microphone icons, React state and effects, plus Tailwind utility and theme classes. Typing triggers a simulated loader, while the microphone is only a labeled submit button.

Specimen
Harness screenshot of originui-search-27 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-search-27 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-search-27 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 originui-search-27
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal15.3 KB (79.9 KB build, 64.6 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 3.67s
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 sound visual starting point with clean mounting, responsive containment, and accessible labeling in the prepared harness. It is still demo logic, not a complete search control, and it needs a shadcn-style setup before it can build or mount in a bare project.

Use it if

  • You want a labeled search field with clear search, loading, and voice affordances.
  • Your app already uses shadcn-style aliases, primitives, theme tokens, and Tailwind utilities.
  • You plan to replace the demo timer and wire the microphone control to real behavior.

Skip it if

  • You need working voice input out of the box, because the microphone has no speech logic.
  • Your loading state must reflect an actual request rather than a timer started by typing.
  • You need a framework-neutral input without shadcn registry imports or utility-theme coupling.
  • A submit button inside the field would conflict with the behavior of an enclosing form.

Install

Installation record for originui-search-27
Declared dependenciesradix-ui
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 React client-component support, Lucide icons, the registry Input and Label primitives, a compatible class-merging utility, the expected import alias, and Tailwind styles with the referenced color, spacing, focus-ring, animation, and disabled-state theme tokens. Then connect loading and voice actions to application logic.

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.

License
MIT
Record published
2026-08-12

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.