Measured entry
tripled-native-image-checkbox-carbon
checkboxminimal-flatmotion on file
A controlled image-selection tile that desaturates unselected artwork and animates a green check, border, and press response. It ships as a client-side React component styled with Tailwind utility classes, using Framer Motion, a Lucide check icon, and a local cn helper imported through the usual shadcn alias.



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 | clean at 375, 768, 1440 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 67.4 KB (132.8 KB build, 65.4 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 1m 19s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-carbon/src/components/native/native-image-checkbox-carbon.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A tidy visual state treatment, but not a production-ready checkbox as shipped. It needs a shadcn-style setup, and teams should add native keyboard semantics and accessible state before adoption. The provided demo also fails to supply meaningful image content or alternative text.
Use it if
- You need a compact visual picker for products, avatars, finishes, or other image-led choices.
- Your app already uses Tailwind, Framer Motion, Lucide icons, and a shadcn-style cn utility.
- You want selection state controlled by the parent rather than stored inside the tile.
Skip it if
- You need keyboard and screen-reader checkbox behavior without rewriting the clickable div as a native input or button.
- You want a dependency-light selector without Framer Motion.
- You need a drop-in demo, since the supplied demo omits the required image props and produces a missing-alt violation.
- Your design system does not use Tailwind utility classes or shadcn-style path aliases.
Install
| Declared dependencies | framer-motion, react |
|---|---|
| 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 |
In a non-shadcn project, add React, Framer Motion, Lucide React, Tailwind support for the referenced utility classes, and a cn class-merging helper. Either configure the local alias used by the import or replace it with your own path, and keep the component on the client side.
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/moumen-soliman/uitripledAlternatives
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.
- neu-checkboxneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- clay-checkboxclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- shadcn-checkboxunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 18.4KB
- Bare
- fail
- Prov
- NO
- originui-comp-132minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.5KB
- Bare
- fail
- Prov
- NO
- originui-comp-135minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.5KB
- Bare
- fail
- Prov
- NO
- originui-comp-140minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.5KB
- Bare
- fail
- Prov
- NO