Aspect Ratio โ shadcn/ui Component by reactframe | shadcnregistry
Aspect Ratio
component
A container that locks its content to a fixed width/height ratio (a preset like video or square, or a custom number), auto-fitting a single image or video child.