# AspectRatio (@limerdev/zest)
Keeps its content at a width-to-height `ratio` (`16 / 9`, `1`, `4 / 3`) as its width changes, so images and embeds don't shift the page while they load.
- Category: Layout
- Import: `import { AspectRatio } from '@limerdev/zest'`
- Bits UI: `AspectRatio`, https://bits-ui.com/docs/components/aspect-ratio
- Exports: `AspectRatio`
- Use for: Images, video and map embeds in a fluid layout.
- Don't: Plain media with known width and height attributes: the browser keeps their ratio already.
```svelte