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