AspectRatio

Locks a child to a ratio; images and videos cover the box.

Playground

ratio
16/9
<AspectRatio ratio={16/9}><img src="…" /></AspectRatio>