AppImageModal
A full-screen image viewer with zoom and navigation support.
Install: pnpm add-component AppImageModal
Single image
Click to open the image viewer with a high-quality placeholder.
Gallery mode
Click to view a gallery of placeholder nature images.
API
images(string | string[]): One or more image URLs to display.isOpen(boolean): Whether the modal is visible.initialIndex(number): Index of the image to show first.alt(string): Alt text for the images.