Measured entry

ruixen-checkbox-group

selectunclassifiedmotion on file

A client-side React checkbox group distributed as a shadcn registry source file. It supports controlled or internal selection, optional descriptions, disabled choices, horizontal or vertical layout, and animated checkmarks. It depends on Tailwind CSS, Motion, and a shadcn-style cn utility backed by clsx and tailwind-merge.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-checkbox-group at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-checkbox-group at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-checkbox-group 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 ruixen-checkbox-group
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal72.1 KB (137.6 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 9m 11s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/checkbox-group.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid fit for an animated multi-select in an existing design system, with native inputs preserving core checkbox behavior. It needs a shadcn-style setup to work as shipped, and teams should fix its collision-prone IDs when repeated values can appear across groups.

Use it if

  • You need a multi-select field that can be controlled by form state or manage its own selection.
  • Your choices benefit from descriptions, disabled states, and a choice of horizontal or vertical layout.
  • Your Tailwind interface already uses Motion and you want animated checkmark feedback.

Skip it if

  • You are keeping interaction code lean and do not want Motion for a checkbox animation.
  • You will render several groups with repeated option values and cannot patch the generated input IDs to avoid collisions.
  • You need built-in fieldset and legend semantics, validation messaging, or required-group behavior.

Install

Installation record for ruixen-checkbox-group
Declared dependenciesmotion, 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 Tailwind CSS, Motion, clsx, and tailwind-merge. Create a cn helper that combines clsx with tailwind-merge and either configure the @ alias for the expected lib path or replace that import with your local utility path.

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.

Alternatives

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