Frames
Wrap images, videos, and other components with the frame component to add styled borders, captions, and visual emphasis to your content.
Use frames to display images, diagrams, videos, or other visual content with consistent styling and optional captions. Frames center content and provide visual separation from surrounding text.

Captions
Add additional context to an image using the optional caption prop. Captions appear in the frame below the image.

Markdown in captions
Captions support Markdown formatting, including links and bold text.


Hints
Add text that precedes the frame using the optional hint prop. Hints appear before the frame.

Videos
When you place a video element with autoPlay inside a frame, the frame adds playsInline, loop, and muted attributes.
<Frame caption="Product demo">
<video autoPlay src="/path/to/video.mp4" />
</Frame>Videos without autoPlay do not have any additional attributes added by default.
Properties
captionstringText that appears as part of the frame, centered below the content. Supports Markdown formatting including links and bold text.
hintstringText that precedes the frame.
<Frame>
<img src="/path/image.jpg" alt="Descriptive alt text" />
</Frame>