# Image Masonry ## Example ```svelte ``` ## Documentation ## Usage ```svelte ``` ## API Reference ### ImageMasonry A responsive masonry grid layout for images with optional names and click interactions. | Prop | Type | Default | Description | |------|------|---------|-------------| | images | `{ src: string; name: string; href?: string; width?: number; height?: number; onclick?: () => void; alt?: string }[]` | `-` | The array of images to display. (required) | | interactive | `boolean` | `true` | Whether images have hover effects and are clickable. | | maxColumns | `number` | `4` | The maximum number of columns in the masonry grid. | | showNames | `boolean` | `true` | Whether to show image names below each image. | | class | `string` | `-` | Additional CSS classes to apply. |