Skip to main 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.

Yosemite National Park is visited by over 3.5 million people every year.

Markdown in captions

Captions support Markdown formatting, including links and bold text.

Learn more about Yosemite National Park and plan your visit.

Important: Check the park website for current conditions.

Hints

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

If you plan to visit Yosemite National Park, secure your permits before you go.

Yosemite National Park is visited by over 3.5 million people every year.

Videos

When you place a video element with autoPlay inside a frame, the frame adds playsInline, loop, and muted attributes.
Video with autoPlay
Videos without autoPlay do not have any additional attributes added by default.

Properties

string
Text that appears as part of the frame, centered below the content. Supports Markdown formatting including links and bold text.
string
Text that precedes the frame.