Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 964 Bytes

frames.mdx

File metadata and controls

46 lines (35 loc) · 964 Bytes
title description icon
Frames
Use the Frame component to wrap images or other components in a container.
frame

Frames are very helpful if you want to center an image.

Captions

You can add additional context to an image using the optional caption prop.

Props

Optional caption text to show centered under your component. ```jsx Frame

```
<Frame caption="Caption Text">
  <img src="/path/image.jpg" />
</Frame>
<Frame type="glass">
  <img src="/path/image.jpg" />
</Frame>