*** title: Frame description: >- Use Fern's Frame component to display images with captions in your docs. Includes subtle background variants and properties. --------------------------------------------------- For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see [https://buildwithfern.com/learn/llms.txt](https://buildwithfern.com/learn/llms.txt). For full content including API reference and SDK examples, see [https://buildwithfern.com/learn/llms-full.txt](https://buildwithfern.com/learn/llms-full.txt). The `` component provides a container for images and other media with optional captions and backgrounds. ## Usage
Sample photo of mountains
```jsx Markdown Sample photo of mountains ``` ## Variants ### Subtle background
Sample photo of mountains
```jsx Markdown Sample photo of mountains ``` ## Properties Caption text to display below the frame Adds a subtle background to the frame. Use "subtle" for a more muted appearance. Additional CSS classes to apply to the frame