Measured entry
neobrutalism-input-otp
A client-side React OTP input assembled from the input-otp primitive, with grouped slots, an animated fake caret, and a Lucide dot separator. It ships as a shadcn registry TSX file and relies on a cn utility plus Tailwind theme tokens and a custom caret animation for its neobrutalist styling.



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 | 34.1 KB (99.6 KB build, 65.5 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 1.42s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-60b7b8241443/src/cut/components/ui/input-otp.tsx".
Verdict
A practical wrapper when input-otp and Tailwind are already part of the stack. It builds and mounts cleanly without a provider, but the supplied usage needs an accessible label before production and the visual treatment depends on project-specific theme utilities.
Use it if
- You need a controlled verification-code field with individually styled slots.
- Your interface already uses Tailwind and can supply the component's neobrutalist theme tokens.
- You want grouped code digits with a visual separator and active-slot feedback.
Skip it if
- You need a ready-made accessible field with its label included, since the tested demo leaves the form control unlabeled.
- You do not want to adopt input-otp for focus, keyboard, and paste behavior.
- Your design system cannot provide the custom color, radius, font, and caret-animation utilities used by the source.
Install
| Declared dependencies | input-otp, clsx, tailwind-merge |
|---|---|
| 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 input-otp and lucide-react, provide a cn class-merging helper with its supporting packages, and recreate the Tailwind color, border, radius, font, ring, and caret-animation tokens referenced by the component. Add a visible label or an accessible name at the usage site.
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/ekmas/neobrutalism-componentsAlternatives
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