Measured entry

originui-comp-145

checkboxminimal-flat

A card-style checkbox that pairs a Radix-backed control with a label, supporting text, and an inline Mastercard mark. It ships as a shadcn registry component and relies on React, local Checkbox and Label primitives, a class-merging utility, Tailwind utilities, and theme tokens.

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

Verdict

A practical, accessible option-card pattern with a generous click target and clean checked-state styling. It needs a shadcn-style setup to mount, and the fixed Mastercard artwork and placeholder content should be replaced or parameterized before reuse.

Use it if

  • You need an entire bordered option card to act as the checkbox target.
  • You want a payment-method choice with a title, secondary label, and short description.
  • Your app already uses shadcn-style aliases, Tailwind theme tokens, and Radix primitives.

Skip it if

  • You need a generic checkbox row without a payment-brand graphic.
  • Your design system does not use Tailwind utilities or shadcn-style local primitives.
  • You need a reusable data-driven option component rather than fixed placeholder copy and an embedded brand mark.

Install

Installation record for originui-comp-145
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 and radix-ui, provide compatible Checkbox and Label wrappers, create the expected class-merging utility and import aliases, and configure Tailwind with the referenced color, border, shadow, and focus-ring tokens.

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 checkbox pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.