Fancybox
Key Features
-
Written in TypeScript, no external dependencies -
Highly customizable with plenty of configuration options and CSS variables -
Touch and mobile optimized with swipe, drag and pinch-to-zoom gestures -
Multiple opened (active) instances at the same time -
Two types of thumbnails - classic and modern new -
Compact mode with a mobile-like user experience new -
Various transformation controls new -
Supports <picture> element new -
Can handle gallery with infinite items new -
Idle state new -
Mouse panning new -
Focus trap
Examples
Basic example
Transformation controls
Mouse panning
Videos
Various
Combine
What's Next
-
Images plugin for images; -
HTML plugin for HTML, inline content, videos, iframes, etc.