Image
Display images and explore galleries.
Basic usage
basic.tsx
More examples
advanced.tsx
Usage
Supports keyboard navigation, touch swiping, zoom, thumbnails and fullscreen. ImagePreviewGroup collects child Images or accepts items and controlled open / index. Use preview={false} for display-only images.
Types
Import these types for data, callbacks and refs.
ImagePreviewGroupProps API
ImagePreviewItem API
ImagePreviewProps API
ImageProps API
Image supports native image attributes such as src, alt, width, height, loading, onLoad and onError.