Aspect Ratio
Displays content within a desired ratio.

Installation
npm i @huin-core/react-aspect-ratioAPI Reference
AspectRatio
| Prop | Type | Description |
|---|---|---|
| asChild | boolean | When set to true, renders the component as its child element, inheriting the child's styles and behavior. |
| ratio | number | The desired ratio |