Search documentation

Search the documentation and open a page.

Displays content within a desired ratio.

Loading...

Installation

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

Composition

AspectRatio └── content

Examples

Default

Loading...

Landscape 3:2

Loading...

Landscape 4:3

Loading...

Portrait 2:3

Loading...

Portrait 3:4

Loading...

Story 9:16

Loading...

Ultrawide 21:9

Loading...

Widescreen 16:9

Loading...