Measured entry
kibo-image-zoom
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.



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 | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 36.6 KB (102.1 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | react-medium-image-zoom, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/shadcnblocks/kiboAlternatives
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.
- magicui-androidskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- magicui-iphoneskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.5KB
- Bare
- pass
- Prov
- NO
- magicui-safariskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 20.8KB
- Bare
- pass
- Prov
- NO
- ruixen-scroll-tilted-gridunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 60.5KB
- Bare
- pass
- Prov
- NO
- magicui-lens3d
- Renders
- YES
- A11y
- 0
- Gzip
- 63.5KB
- Bare
- pass
- Prov
- NO
- ruixen-glass-image-editorliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 65.3KB
- Bare
- pass
- Prov
- NO