Components
Layout

Aspect Ratio

Aspect Ratio with familiar shadcn behaviour, accessible interactions, and the complete BRUT/UI visual system.

04 / 58

Example

Live
16 : 9
Installation

Add to your project.

Install BRUT/UI through the same workflow as shadcn. Once the registry is configured, the CLI adds this component and its required project-wide theme dependency to your application. It starts in Paper, Soft, and Cut with no root attributes required; use the theme attributes only to choose another combination.

pnpm dlx shadcn@latest add @brut-ui/aspect-ratio
View Aspect Ratio on shadcn