Frames
Use frames to present screenshots, media, and browser-like previews with captions.
Frames give visual material a clear boundary without turning the whole page into cards.
Basic example
This placeholder represents a real product screenshot or live iframe.
<Frame variant="browser" caption="Use browser frames for rendered examples or app screenshots." hint="Keep screenshots real and current.">
<img src="/images/stacks/api-first/numi-api-docs.png" alt="Plandalf API docs screenshot" />
</Frame>
Variants
Use the browser variant when the image represents a page, app surface, or live preview. Use the flat variant when the media already has its own strong boundary.
<Frame variant="browser" caption="Browser frames are best for rendered app states.">
<img src="/path/to/product-screenshot.png" alt="Plandalf offer preview" />
</Frame>
<Frame variant="flat" align="stretch" caption="Flat frames avoid double chrome.">
<Mermaid chart={`flowchart LR
Offer --> Checkout --> Automation
`} />
</Frame>
Captions and hints
Captions sit below the frame. Hints sit above the frame. Like Mintlify, Plandalf supports inline Markdown in captions and hints, including links, bold text, italics, and inline code.
Use linked captions when the frame points to a deeper implementation page.
test offers before sharing a checkout link.<Frame caption="Learn more in the [API reference](/docs/api/reference) before wiring this into production.">
<img src="/path/to/product-screenshot.png" alt="Plandalf API reference preview" />
</Frame>
<Frame hint="**Important:** use `test` offers before sharing a checkout link." caption="See the [going live checklist](/docs/going-live) when the test flow works end to end.">
<img src="/path/to/product-screenshot.png" alt="Plandalf checkout preview" />
</Frame>
Media rules
Frame usage
Screenshotsreal product UIDocs frames should contain real product screenshots, captured app states, or live examples. Avoid decorative fake UI.
Captionsspecific and usefulExplain what the reader is seeing, not just the component name.
Hintsshort context above mediaUse hint for one-line context before the screenshot, such as environment, account state, or prerequisite.
Videos
Frames can hold videos as well as images and iframes. When a video has autoPlay, the frame enhancer adds playsInline, loop, and muted so the embed behaves like Mintlify’s video frame pattern.
<Frame caption="Product demo">
<video autoPlay src="/path/to/video.mp4" />
</Frame>
Properties
captionstringText shown below the frame. Supports inline Markdown formatting including links, bold text, italics, and code.
hintstringText that appears before the frame.
Plandalf extensions
variantdefault | flat | browserdefault: defaultBrowser adds a small top chrome. Flat avoids double borders around media that already has its own boundary.
aligncenter | stretchdefault: centerControls frame width behavior.
class | classNamestringOptional utility classes for local spacing or sizing.