Measured entry

neobrutalism-nbutton

buttonbrutalism

A React button primitive with a neobrutalist border, offset-shadow interactions, four visual variants, size options, disabled styling, and an asChild composition path. It ships as a shadcn registry item and relies on Tailwind theme tokens, Radix Slot, class-variance-authority, and a cn class-merging helper.

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

What the harness recorded

BARE BUILD

✗ Build failed in 1.28s
error during build:
[vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-4a1b452696bf/src/cut/components/ui/button.tsx".

Verdict

A sound, focused button primitive that builds and mounts cleanly, stays composed without a provider, and covers the core neobrutalist treatments. Choose it when its custom theme vocabulary already fits your system; otherwise expect a small but necessary styling integration.

Use it if

  • You want a compact neobrutalist button with default, neutral, shadowless, and reverse interaction treatments.
  • Your design system already exposes the custom color, border, radius, and shadow tokens referenced by its Tailwind classes.
  • You need asChild composition for links or other controls while preserving the component styling.

Skip it if

  • Your interface uses understated controls and the heavy border with shifting shadow would clash with the visual language.
  • You cannot add project-specific Tailwind theme tokens for its colors, radius, and directional shadows.
  • You need loading state, icon placement rules, or intent variants such as destructive and outline without extending the source.

Install

Installation record for neobrutalism-nbutton
Declared dependencies@radix-ui/react-slot, clsx, tailwind-merge
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 Radix Slot and class-variance-authority, provide a cn helper backed by clsx and tailwind-merge, configure the referenced Tailwind color, radius, and directional shadow tokens, and replace the path alias if your build does not support it.

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-16

Alternatives

Other published entries for the button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.