## Frames

> Container wrapper for images and visual content

`Frame` components provide structured containers for images, diagrams, and other visual elements. Perfect for creating consistent presentation layouts with optional styling and captions.

<Frame>
  <img src="https://static.apigit.com/tahoe-winter.jpg" />
</Frame>

<br/>
**Example**:
```html
<Frame>
  <img src="https://static.apigit.com/tahoe-winter.jpg" />
</Frame>
```

## Captions

Add descriptive captions to provide context and improve accessibility for your visual content.

<Frame caption="The Matterhorn is a famous pyramid-shaped mountain in the Alps.">
  <img src="https://static.apigit.com/matterhorn.jpg" />
</Frame>

<br/>
**Example**:
```html
<Frame caption="The Matterhorn is a famous pyramid-shaped mountain in the Alps.">
  <img src="https://static.apigit.com/matterhorn.jpg" />
</Frame>
```


## Background

You can add your background and padding setting as well.


<Frame padding="32px" background="linear-gradient(to right, rgb(17, 177, 255), rgb(226, 146, 150))">
![apigit](https://static.apigit.com/tahoe-winter.jpg)
</Frame>
<br/>
**Example**:
```html
<Frame padding="32px" background="linear-gradient(to right, rgb(17, 177, 255), rgb(226, 146, 150))">
![apigit](https://static.apigit.com/tahoe-winter.jpg)
</Frame>
```



## Configuration Options

<Field name="caption" type="string">
  Descriptive text displayed below the framed content for context and accessibility
</Field>

<Field name="background" type="string">
  CSS background property value (color, gradient, or image) for the frame container
</Field>

<Field name="borderColor" type="string">
  CSS color value for the frame border (hex, rgb, or named colors)
</Field>

<Field name="padding" type="string">
  CSS padding value to control internal spacing within the frame
</Field>

