Image Figure
An image with an editorial caption and credit, keeping the reserved space and responsive behaviour of the Image component.
`ImageFigure` is the editorial wrapper: the image keeps every `Image` behaviour and the `<figcaption>` keeps the caption and the credit on one baseline. `className` styles the figure, so the caption spacing stays with the caption.
Preview

Installation
Add the item with the shadcn CLI, or copy the source manually.
pnpm dlx shadcn@latest add litingyes/blocove/image-figureRequires a shadcn/ui project set up with Base UI primitives. Blocove is developed against the b0 preset, but it installs no base config or theme tokens: your own preset, fonts and colors stay in place.
Or install from the namespace after adding the registry: npx shadcn@latest add @blocove/image-figure
API Reference
Props accepted by the exported components.
ImageFigure
An image with a caption and a credit. Every Image prop is forwarded to the image; the three below style the wrapper.
Extends ImageProps.
| Prop | Type | Default |
|---|---|---|
caption | ReactNode | - |
credit | ReactNode | - |
imageClassName | string | - |
className | string | - |