Preview images or videos at page level with previous, next, and close controls.
How to use
Use ImageViewer to enlarge images and navigate a group. Use Image for ordinary in-page display. Reuse the existing zoom, close, and keyboard interactions rather than rebuilding them.
Omit open, items, and index together for page-wide automatic mode. In manual mode, provide the preview list and current item explicitly.
children replaces every default control Button. Use parts when only changing their appearance so close and previous/next controls remain available.