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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-image-checkbox-carbon at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-image-checkbox-carbon at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-image-checkbox-carbon 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 tripled-native-image-checkbox-carbon
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal67.4 KB (132.8 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 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

Installation record for tripled-native-image-checkbox-carbon
Declared dependenciesframer-motion, react
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, 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.

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.