Images and embeds
Add screenshots, media-library images, videos, and iframe embeds to Plandalf docs with Mintlify-style MDX patterns.
Images and embeds should help readers inspect the thing being explained. Use plain Markdown images for simple screenshots, MediaImage for tracked Plandalf assets, and Frame when media needs a caption, browser chrome, or containment.
The path
-
Start with Markdown image syntax or a normal
<img>tag when the asset already has a stable public path. -
Use
MediaImageorMediaScreenshotwhen the screenshot is registered in the Plandalf media library. -
Use
Framefor screenshots, videos, and embeds that need captions, hints, or browser-style chrome. -
Place iframes inside a frame and give them explicit sizing so they cannot create horizontal scroll.
Markdown image


Tracked screenshot
<Frame caption="Tracked screenshots keep public docs tied to the site media library.">
<MediaImage id="numi-offer-editor-JDvgFm" alt="The Numi offer editor with checkout and automation controls." variant="plain" />
</Frame>
Embedded preview
<Frame variant="browser" caption="Embeds stay inside the reading column when wrapped in Frame.">
<iframe
className="aspect-video w-full"
title="Quickstart docs embedded preview"
src="/docs/quickstart"
></iframe>
</Frame>
Authoring rules
Image and embed rules
Alt textrequired for imagesDescribe the visible product state or diagram. Do not use generic alt text such as screenshot.
Frame captionsrecommendedUse captions when the media explains a UI state, workflow, or API concept.
Iframe titlesrequired for embedsEvery iframe should have a title and a constrained width or aspect ratio.
Zoom behaviorDocsImageMarkdown images render through DocsImage and receive zoom metadata by default. Add noZoom when zooming would not help.
Properties
img.srcstringrequiredPublic image URL or path.
img.altstringrequiredAccessible image description.
img.noZoombooleanDisables docs image zoom metadata.
MediaImage.idstringMedia library ID for a tracked screenshot or generated asset.
iframe.titlestringrequiredAccessible title for the embedded surface.