Aspect Ratio
A production-ready component built with React and Tailwind CSS
Installation
Add this component to your project using the CLI
npx shadcn@latest add @clamo/aspect-ratioUsage
Import and use the component in your application
import { AspectRatio } from "@/components/ui/aspect-ratio"
export function Example() {
return <AspectRatio />
}Preview
Interactive preview of the component
16:9 Aspect Ratio