Aspect Ratio
- from @astryx
- by Astryx
Three aspect ratio containers at equal height (1:1, 4:3, and 16:9), each showing an image with its ratio labeled below. Astryx replaced 3 demo media references with marked placeholders; put your own content there.
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 @astryx/showcase-aspect-ratio-defaultRegistry dependencies0
The CLI adds no other registry items with this one.
