Aspect Ratio 05 - Ratio Switcher
- from @shadcn-space
An interactive demo that lets you switch an image between common aspect ratios like 1:1, 4:3, 16:9, and 21:9.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcn-space/aspect-ratio-05Component source
No live preview has been built for this component yet.
Registry dependencies2
- aspect-ratio
- button
Packages0
No npm packages are installed with it.