Skip to content

Frames

Put an image or embed in a frame, with a hint above and a caption below.

Updated

A Frame wraps an image or embed, and can add text above and below it.

Your logo, as the site shows it

The Specly mark
The Specly mark.
MDX
<Frame hint="Your logo, as the site shows it" caption="The Specly mark.">
<img src="/favicon.svg" alt="The Specly mark" width="96" />
</Frame>

Give the image alt text. For how images are found and shown in light and dark themes, see images and files.

captionstring
Text under the frame.
hintstring
Text above the frame.
Was this page helpful?

Report a problem

What’s the problem?

The docs team sees this. Other readers don’t.