1. Home
  2. ChevronRightMdx
  3. ChevronRightImage

Image

Render theme-aware, responsive, and beautifully styled images using the Image component.

Boltdocs automatically styles default Markdown images, giving them a subtle shadow, rounded corners, and centered alignment. Additionally, you can use the <Image> component directly to configure theme-aware behaviors.


UsageLink

Standard Markdown ImagesLink

Standard Markdown image definitions are automatically intercepted and rendered with Boltdocs' premium styling:

![Architecture Diagram](/public/light.svg)

Theme-Aware RenderingLink

You can use the <Image> component to render different assets depending on whether the user is viewing the site in light or dark mode.

<Image src="/public/light.svg" alt="System Flow" theme="light" />
<Image src="/public/dark.svg" alt="System Flow" theme="dark" />

PropsLink

PropTypeDefaultDescription
srcstringRequiredAbsolute or relative path to the image asset.
altstring''Alternative description text for screen readers and SEO.
theme'light' | 'dark'undefinedRestricts visibility to a single theme. The image is hidden when the other theme is active.
Last updated on July 27, 2026

Was this page helpful?