LayoutAspectRatio
AspectRatio
The AspectRatio primitive is used to embed responsive media like images and videos.
AspectRatioProps
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
children | ReactElement | Yes | — | The element |
ratio | number | Yes | — | The aspect ratio of the box. Common values are: `1`, `16/9`, `4/3` |