Measured entry

kibo-image-zoom

imageminimal-flat

A client-side React wrapper that turns an image into a click-to-zoom dialog with a dimmed, blurred backdrop and reduced-motion styling. It ships as a shadcn registry component and delegates zoom behavior to react-medium-image-zoom, while its presentation relies on Tailwind utilities, theme color tokens, and a cn helper.

Specimen
Harness screenshot of kibo-image-zoom at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of kibo-image-zoom at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-image-zoom 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 kibo-image-zoom
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal36.6 KB (102.1 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A practical, thin wrapper for teams already using Tailwind conventions. It built and mounted cleanly with no detected accessibility violations, but the narrow-view overflow deserves a responsive check and the added zoom dependency is not trivial for such a focused feature.

Use it if

  • You need an inline image to expand into a focused overlay without building dialog and zoom behavior yourself.
  • Your app already uses Tailwind theme tokens and a cn utility compatible with shadcn components.
  • You want both controlled and uncontrolled zoom state exposed through the underlying library API.

Skip it if

  • Your image must sit in a narrow fixed-width layout where horizontal overflow cannot be tolerated without additional responsive work.
  • You want pinch, pan, or gallery navigation rather than a single-image enlarge and dismiss interaction.
  • You are minimizing client-side dependencies and cannot justify adding a dedicated zoom library for one interaction.

Install

Installation record for kibo-image-zoom
Declared dependenciesreact-medium-image-zoom, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, install react-medium-image-zoom, clsx, and tailwind-merge; provide the cn helper or replace it with your class combiner; configure Tailwind to scan the component; and map the foreground and background theme tokens or substitute equivalent colors. The file must run as a client component.

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-17

Alternatives

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