T
Tray UI

Aspect Ratio · Tray UI

Aspect ratio keeps a box in a fixed proportion while its width changes, so media never shifts the layout as it loads.

npx shadcn@latest add https://trayui.com/r/aspect-ratio.json
Loading the source for aspect-ratio…

aspect-ratio