Dev Design Library

Aspect Ratio 05 - Ratio Switcher

An interactive demo that lets you switch an image between common aspect ratios like 1:1, 4:3, 16:9, and 21:9.

Aspect Ratio 05 - Ratio Switcher preview
Library
Shadcn Space
Framework
React
Type
component
License
MIT
Files
  • src/components/shadcn-space/aspect-ratio/aspect-ratio-05.tsx
  • src/components/ui/aspect-ratio.tsx
  • src/components/ui/button.tsx
  • src/lib/utils.ts
  • src/config.ts
Source
https://github.com/shadcnspace/shadcnspace

Categories

More from Shadcn Space