Aspect Ratio
Displays a aspect ratio component.
Installation
pnpm dlx shadcn@latest add https://nds.aboalrejal.com/r/aspect-ratio.jsonUsage
This component is generated automatically. To see advanced interactive demos, please refer to the original source code.
import { AspectRatio } from "@/components/ui/aspect-ratio"
export default function Example() {
return (
<AspectRatio>
Example
</AspectRatio>
)
}