# Aspect ratio (/components/layout/aspect-ratio)



`AspectRatio` locks a frame to an inline-to-block ratio and sizes its direct child to fill the
frame. Use it for media such as an `iframe`, `img`, or `video`. Images and videos use
`objectFit="cover"` by default. Pass another `objectFit` value to change how they fit the frame.
Read [Layout](/docs/layout#choose-a-layout-component) to choose a layout component.

apps/docs/src/examples/aspect-ratio/basic.tsx

```tsx
import { AspectRatio } from '@luke-ui/react/aspect-ratio';
import { Container } from '@luke-ui/react/container';
import { vars } from '@luke-ui/react/theme';

export default () => {
	return (
		<Container maxInlineSize="ct672">
			<AspectRatio ratio="16 / 9">
				<iframe
					src="https://www.youtube.com/embed/K5uS5DIKQbU"
					style={{ borderRadius: vars.radius.detail }}
					title="YouTube video player"
				/>
			</AspectRatio>
		</Container>
	);
};
```

## Choose the rendered element [#choose-the-rendered-element]

AspectRatio uses
[Box's `elementType` and `render` contract](/components/layout/box#choose-the-rendered-element).

apps/docs/src/examples/aspect-ratio/semantic-element.tsx

```tsx
import { AspectRatio } from '@luke-ui/react/aspect-ratio';
import { Container } from '@luke-ui/react/container';
import { vars } from '@luke-ui/react/theme';

export default () => {
	return (
		<Container maxInlineSize="ct672">
			<AspectRatio elementType="figure" ratio="4 / 3">
				<img
					alt="Looking up between tall canyon walls at a strip of blue sky"
					src="https://images.unsplash.com/photo-1479030160180-b1860951d696?auto=format&fit=crop&w=1200&q=80"
					style={{ borderRadius: vars.radius.detail }}
				/>
			</AspectRatio>
		</Container>
	);
};
```

## API [#api]

<ComponentPropsTable
  id="type-table-aspect-ratio.tsx-AspectRatioProps"
  type="{
  &#x22;id&#x22;: &#x22;aspect-ratio.tsx-AspectRatioProps&#x22;,
  &#x22;name&#x22;: &#x22;AspectRatioProps&#x22;,
  &#x22;description&#x22;: &#x22;Props for `AspectRatio`.&#x22;,
  &#x22;entries&#x22;: [
    {
      &#x22;name&#x22;: &#x22;children&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;React.ReactNode&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ReactNode&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;className&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;string | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;string&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;style&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;React.CSSProperties | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;object&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;alignSelf&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;auto\&#x22; | \&#x22;baseline\&#x22; | \&#x22;center\&#x22; | \&#x22;flex-end\&#x22; | \&#x22;flex-start\&#x22; | \&#x22;normal\&#x22; | \&#x22;stretch\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;blockSize&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.BlockSize<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;flex&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.Flex<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;flexBasis&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.FlexBasis<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;flexGrow&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;1\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;flexShrink&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;1\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridArea&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridArea | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridColumn&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridColumn | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridColumnEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridColumnEnd | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridColumnStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridColumnStart | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridRow&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridRow | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridRowEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridRowEnd | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;gridRowStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.GridRowStart | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;inlineSize&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InlineSize<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;inset&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.Inset<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;insetBlock&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InsetBlock<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;insetBlockEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InsetBlockEnd<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;insetBlockStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InsetBlockStart<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;insetInline&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InsetInline<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;insetInlineEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InsetInlineEnd<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;insetInlineStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.InsetInlineStart<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;justifySelf&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;auto\&#x22; | \&#x22;center\&#x22; | \&#x22;end\&#x22; | \&#x22;normal\&#x22; | \&#x22;start\&#x22; | \&#x22;stretch\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;margin&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;marginBlock&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;marginBlockEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;marginBlockStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;marginInline&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;marginInlineEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;marginInlineStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;auto\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;maxBlockSize&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.MaxBlockSize<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;maxInlineSize&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.MaxInlineSize<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;minBlockSize&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.MinBlockSize<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;minInlineSize&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.MinInlineSize<0 | (string & {})> | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;order&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<Property.Order | undefined>&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;ResponsiveValue<union>&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;overflow&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;auto\&#x22; | \&#x22;clip\&#x22; | \&#x22;hidden\&#x22; | \&#x22;scroll\&#x22; | \&#x22;visible\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;overflowX&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;auto\&#x22; | \&#x22;clip\&#x22; | \&#x22;hidden\&#x22; | \&#x22;scroll\&#x22; | \&#x22;visible\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;overflowY&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;auto\&#x22; | \&#x22;clip\&#x22; | \&#x22;hidden\&#x22; | \&#x22;scroll\&#x22; | \&#x22;visible\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;padding&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;paddingBlock&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;paddingBlockEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;paddingBlockStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;paddingInline&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;paddingInlineEnd&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;paddingInlineStart&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;0\&#x22; | \&#x22;sp12\&#x22; | \&#x22;sp16\&#x22; | \&#x22;sp24\&#x22; | \&#x22;sp32\&#x22; | \&#x22;sp4\&#x22; | \&#x22;sp40\&#x22; | \&#x22;sp48\&#x22; | \&#x22;sp64\&#x22; | \&#x22;sp8\&#x22; | \&#x22;sp96\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;placeSelf&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;auto\&#x22; | \&#x22;center\&#x22; | \&#x22;end\&#x22; | \&#x22;normal\&#x22; | \&#x22;start\&#x22; | \&#x22;stretch\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;position&#x22;,
      &#x22;description&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;ResponsiveValue<\&#x22;absolute\&#x22; | \&#x22;fixed\&#x22; | \&#x22;relative\&#x22; | \&#x22;static\&#x22; | \&#x22;sticky\&#x22;> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;elementType&#x22;,
      &#x22;description&#x22;: &#x22;Chooses a supported structural element.\nUse `elementType` instead of `render` for a supported structural element.&#x22;,
      &#x22;tags&#x22;: [
        {
          &#x22;name&#x22;: &#x22;default&#x22;,
          &#x22;text&#x22;: &#x22;div&#x22;
        }
      ],
      &#x22;type&#x22;: &#x22;\&#x22;article\&#x22; | \&#x22;aside\&#x22; | \&#x22;dd\&#x22; | \&#x22;div\&#x22; | \&#x22;dl\&#x22; | \&#x22;dt\&#x22; | \&#x22;figcaption\&#x22; | \&#x22;figure\&#x22; | \&#x22;footer\&#x22; | \&#x22;header\&#x22; | \&#x22;li\&#x22; | \&#x22;main\&#x22; | \&#x22;nav\&#x22; | \&#x22;ol\&#x22; | \&#x22;section\&#x22; | \&#x22;span\&#x22; | \&#x22;ul\&#x22; | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;ref&#x22;,
      &#x22;description&#x22;: &#x22;Ref to the rendered element.&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;React.Ref<HTMLElement> | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;render&#x22;,
      &#x22;description&#x22;: &#x22;Use `render` instead of `elementType` to own the rendered element.\nPasses the component's content and presentation props to a caller-owned element.&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;((props: { [K in \&#x22;children\&#x22; | \&#x22;className\&#x22; | \&#x22;ref\&#x22; | \&#x22;style\&#x22;]: BoxLikeResolvedRenderProps[K]; }) => React.ReactElement) | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;function&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;objectFit&#x22;,
      &#x22;description&#x22;: &#x22;How replaced media fits inside the filled frame.&#x22;,
      &#x22;tags&#x22;: [
        {
          &#x22;name&#x22;: &#x22;default&#x22;,
          &#x22;text&#x22;: &#x22;cover&#x22;
        }
      ],
      &#x22;type&#x22;: &#x22;AspectRatioObjectFit | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;name&#x22;: &#x22;ratio&#x22;,
      &#x22;description&#x22;: &#x22;Inline-to-block ratio of the frame.&#x22;,
      &#x22;tags&#x22;: [
        {
          &#x22;name&#x22;: &#x22;default&#x22;,
          &#x22;text&#x22;: &#x22;\&#x22;1 / 1\&#x22;&#x22;
        }
      ],
      &#x22;type&#x22;: &#x22;AspectRatio | undefined&#x22;,
      &#x22;simplifiedType&#x22;: &#x22;union&#x22;,
      &#x22;required&#x22;: false,
      &#x22;deprecated&#x22;: false
    },
    {
      &#x22;deprecated&#x22;: false,
      &#x22;description&#x22;: &#x22;`AspectRatioProps` also accepts compatible DOM and ARIA attributes and event handlers for its rendered element.&#x22;,
      &#x22;name&#x22;: &#x22;__nativePropsForwarding&#x22;,
      &#x22;required&#x22;: true,
      &#x22;simplifiedType&#x22;: &#x22;&#x22;,
      &#x22;tags&#x22;: [],
      &#x22;type&#x22;: &#x22;&#x22;
    }
  ]
}"
/>
