# Image Showcase An editorial image story: a lead photograph with its caption and credit, the facts and actions that give it context, and a gallery for the rest of the set. ## Installation ```bash npx shadcn@latest add litingyes/blocove/image-showcase ``` The lead image keeps the zoom behaviour, so a reader can open it without leaving the story. Images after the first become the gallery, which owns the roving-focus thumbnails; the block itself only supplies the label. ## Usage ### Use the block ```tsx import { ImageShowcase } from "@/components/blocove/image-showcase" export function MissionStory() { return ( ) } ``` ## API Reference ### ImageShowcase An editorial image story: a lead photograph with its caption and credit, a facts and actions row, and a gallery for the rest of the set. | Prop | Type | Default | | --- | --- | --- | | `title` | `string` | `Required` | | `images` | `readonly ImageShowcaseItem[]` | `Required` | | `eyebrow` | `string` | - | | `description` | `string` | - | | `credit` | `ReactNode` | - | | `meta` | `string[]` | - | | `actions` | `ReactNode` | - | | `href` | `string` | - | | `aspectRatio` | `number | string` | `'16 / 9'` | | `widths` | `readonly number[]` | - | | `transform` | `(src, width) => string` | `Identity` | | `sizes` | `string` | - | | `className` | `string` | - | ### ImageShowcaseItem One image in the story; the first one leads the block. | Prop | Type | Default | | --- | --- | --- | | `src` | `string` | `Required` | | `alt` | `string` | `Required` | | `thumbnailSrc` | `string` | `src` | | `caption` | `ReactNode` | - | ## Registry dependencies - `litingyes/blocove/image` - `litingyes/blocove/image-gallery` - `litingyes/blocove/image-zoom` - `badge` - `separator` Namespace: `npx shadcn@latest add @blocove/image-showcase`