@bolt/components-ratio

A small helper-component that displays image or video children at a specific aspect ratio.

Usage no npm install needed!

<script type="module">
  import boltComponentsRatio from 'https://cdn.skypack.dev/@bolt/components-ratio';
</script>

README

Ratio is part of the collection of components, visual styles, and build tools that power the Bolt Design System.

Install via NPM
npm install @bolt/components-ratio