Image
Render theme-aware, responsive, and beautifully styled images using the Image component.
Boltdocs automatically styles default Markdown images with a subtle shadow, rounded corners, and centered alignment. You can also use the <Image> component directly to configure theme-aware behavior.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | Required | Absolute or relative path to the image asset. |
alt | string | '' | Alternative description text for screen readers and SEO. |
theme | 'light' | 'dark' | undefined | Restricts visibility to a single theme. The image is hidden when the other theme is active. |
Last updated on October 18, 2026