Frame

Styled container with optional caption

Frame wraps content in a bordered container, ideal for images and demos.

Basic Frame

City skyline

<Frame>

  ![City skyline](/images/city-skyline.jpg)

</Frame>

With Caption

Add a caption below the frame:

City skyline

New York City at dusk
<Frame caption="New York City at dusk">

  ![City skyline](/images/city-skyline.jpg)

</Frame>

Framing Other Content

Frame works with any content, not just images:

✓ Build completed successfully
✓ 42 pages generated
✓ Deployed to production
Example code output

Use Cases

Screenshots

Document your UI with framed screenshots.

Settings page

Diagrams

Wrap diagrams and flowcharts in frames for consistent styling.

Architecture overview

Properties

string

Optional text below the frame.