AspectRatio — Circle Image
- from @astryx
- by Astryx
Circular container via shape="ellipse" with ratio={1}, ideal for avatars and profile images. Astryx replaced 1 demo media reference 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/example-aspect-ratio-circle-imageRegistry dependencies0
The CLI adds no other registry items with this one.
