Measured entry

originui-comp-92

buttonminimal-flat

A compact outlined Messages button with a small bordered count badge. It ships as a shadcn registry component built on Origin UI's shared Button, which uses class-variance-authority, the Radix Slot, a cn utility, Tailwind classes, and theme tokens.

Specimen
Harness screenshot of originui-comp-92 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-92 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-92 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-comp-92
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal28.2 KB (93.6 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 6.76s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/button.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A clean, focused counter button that built, mounted, stayed contained, and raised no automated accessibility findings. Use it inside an existing shadcn-style setup; it does not mount bare because the shared cn utility and expected project wiring are missing.

Use it if

  • You need a familiar inbox, notification, or queue action with a visible item count.
  • Your app already uses shadcn conventions and can map the static label and count to live data.
  • You want a restrained outlined control that holds its layout across narrow and wide screens.

Skip it if

  • You need a standalone button that can be copied into a plain React project without shared UI infrastructure.
  • The count must convey status or urgency through richer badge variants rather than a neutral outline.
  • Your design system does not use Tailwind utilities, shadcn theme tokens, or alias-based imports.

Install

Installation record for originui-comp-92
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

A non-shadcn project must add React, Tailwind styling and theme tokens, class-variance-authority, radix-ui, a cn class-merging utility, the shared Button implementation, and matching import aliases. Replace the registry paths with local paths and wire the label and count to application data.

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

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.