Aspect Ratio

Displays content within a desired ratio.

Features

  • Accepts any custom ratio.

Install the component from your command line.

Import the component.

Use the aspect ratio primitive.

mountain view

Contains the content you want to constrain to a given ratio.

PropTypeDefaultRequired
asenumdiv
rationumber1
mountain view