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.
<Frame> <img src="/path/image.jpg" alt="Descriptive alt text" /></Frame>
<Frame caption="Caption text"> <img src="/path/image.jpg" alt="Descriptive alt text" /></Frame>
<Frame caption="Visit the [documentation](/docs) for more details"> <img src="/path/image.jpg" alt="Descriptive alt text" /></Frame>
<Frame caption="**Note:** See the [official guide](https://example.com) for setup instructions"> <img src="/path/image.jpg" alt="Descriptive alt text" /></Frame>
<Frame hint="Hint text"> <img src="/path/image.jpg" alt="Descriptive alt text" /></Frame>