Skip to content

Context7 Platform -- Up-to-date docs for AI agents

512 B
Raw Blame
---
title: Frames
description: Present images, videos, and embeds with an optional caption
---

Wrap visual content in `<Frame>`.

## Usage

```mdx
<Frame caption="A framed preview">
  <div style={{ padding: "3rem", textAlign: "center" }}>
    Screenshot or video
  </div>
</Frame>
```

Use `width` to constrain the frame or `fullWidth` to fill the content column.

## Example

<Frame caption="A framed preview">
  <div style={{ padding: "3rem", textAlign: "center" }}>
    Screenshot or video
  </div>
</Frame>