AspectRatio.
Keep images, previews or content at a fixed proportion.
16 : 9
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | Yes | — | — | Image, video or other content. |
ratio | number | No | 16 / 9 | — | Width-to-height ratio. |
className | string | No | — | — | Additional wrapper class. |