Image Zoom
Click-to-zoom image component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring smooth transitions, backdrop blur, and mobile-friendly interactions.
Powered by
Installation
npx shadcn@latest add https://www.shadcn.io/registry/image-zoom.json
npx shadcn@latest add https://www.shadcn.io/registry/image-zoom.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/image-zoom.json
bunx shadcn@latest add https://www.shadcn.io/registry/image-zoom.json
Features
- Click-to-zoom - Instant image enlargement with click or tap using react-medium-image-zoom for React apps
- Smooth transitions - Animated zoom in/out with customizable timing using CSS transforms and Tailwind CSS
- Backdrop blur - Configurable background with blur effects and custom styling using TypeScript options
- Controlled states - Programmatic zoom control with state management for Next.js applications
- Mobile optimized - Touch-friendly interactions with reduced motion support using JavaScript event handling
- Keyboard accessible - Full navigation support with escape key and focus management using shadcn/ui patterns
- Open source - Free image zoom component with SVG and custom element support
Examples
Custom backdrop
Custom margin
Use Cases
- Product galleries - E-commerce image zoom for detailed product views
- Documentation - Technical diagrams and screenshots with zoom capability
- Portfolio sites - Photography and artwork display with full-size viewing
- Content management - Media libraries with preview and zoom functionality
Implementation
Built on react-medium-image-zoom with customizable animations. Works with any image element or SVG. Supports controlled zoom states for complex interactions.
Image Crop
Interactive image cropping component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring drag-resize controls, aspect ratios, and circular cropping.
Animated Cursor
Advanced animated cursor component with customizable following elements and spring animations. Perfect for React applications requiring interactive cursor effects with Next.js integration and TypeScript support.