Aspect Ratio
Displays content within a fixed ratio.
16:9
Installation
Import from the package. Do not run shadcn add in your app.
tsx
import { AspectRatio } from "@carsxe/design-system/components/aspect-ratio"Usage
tsx
import { AspectRatio } from "@carsxe/design-system/components/aspect-ratio"
<AspectRatio />API Reference
Native element props are forwarded. There are no extra variant props.

