> 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

**`Markdown`**
```jsx Markdown
```
## Variants
### Subtle background

**`Markdown`**
```jsx Markdown
```
## 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.