basecn
Components

Aspect Ratio

Displays content within a desired ratio.

Installation

pnpm dlx shadcn@latest add https://basecn.dev/r/aspect-ratio.json
or

If you are using a namespaced registry, you can use the following command:

pnpm dlx shadcn@latest add @basecn/aspect-ratio

Examples

Square

Video