Measured entry
originui-comp-97
A round outline icon button for an add action, with an accessible label built in. It ships as a shadcn registry component that wraps Origin UI's shared Button and renders a Lucide plus icon. It depends on the registry Button, Tailwind utility classes, Radix Slot, variant utilities, and the project's class-merging helper.



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 | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 32.1 KB (97.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.05s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-6be42dfb1eac/src/cut/components/ui/comp-97.tsx".
Verdict
Use it as a small copy-in starting point for a standard add action, especially in an existing Origin UI setup. Its accessible name and shared Button states are sensible, but the hard-coded label and icon, plus the lack of props, make it too rigid for a reusable library component until it is parameterized.
Use it if
- You need a compact add control in a toolbar, card header, or item list.
- Your app already follows Origin UI or shadcn Button conventions and theme tokens.
- You want hover, focus, and outline styling to stay aligned with a shared Button primitive.
Skip it if
- The action needs a visible text label rather than an icon-only control.
- The button must support caller-provided labels, icons, handlers, or variants without editing its source.
- Your project does not use Tailwind and you do not want to recreate the shared Button and theme-token layer.
Install
| Declared dependencies | radix-ui, 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 |
A non-shadcn project must copy or replace the shared Button, add Lucide React, Radix UI, the variant and class-merging utilities, define the Tailwind theme tokens referenced by the classes, and update the registry import alias. Expose props before treating it as a general-purpose control.
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/origin-space/originuiAlternatives
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.
- neu-buttonneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-buttonclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- tripled-animated-radio-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glow-link-buttonliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 58.9KB
- Bare
- pass
- Prov
- NO
- tripled-mood-gradient-button-shadcnuigradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 59.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glass-ai-cardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 59.5KB
- Bare
- pass
- Prov
- NO