Launch sale — 60% off Pro
Contact
Aspect RatioStandard

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React 4:3 Aspect Ratio (Traditional)

A 4:3 traditional aspect ratio container for classic content, presentations, and legacy media formats

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Before widescreen took over, 4:3 ruled everything. This React component wraps content in a 4:3 aspect ratio using shadcn/ui's AspectRatio built on Radix UI. The ratio prop (4 / 3) maintains traditional television proportions, preventing layout shift and ensuring consistent dimensions. Perfect for classic video content, PowerPoint presentations, iPad displays, or retro designs honoring pre-HD formats—keeps traditional aspect locked while adapting width responsively to parent containers.

4:3

Pattern created by @haydenbleasel

Installation

Questions you might have