Displays content within a desired ratio while preserving the element's intrinsic dimensions.
Loading component...
Run the following command to add this component to your project:
Import the component directly from the package:
import { AspectRatio } from "@static-ui/ui"Common props available for this component:
| Prop | Type | Description |
|---|---|---|
| className | string | Additional CSS classes to apply. |