Components

Aspect Ratio

Displays content within a desired ratio.

Endorsed by the creator of shadcn/ui
"This is the ultimate Figma kit for shadcn/ui. If I were to build a Figma kit, this is what I would've built."
CN

shadcn

Creator of shadcn/ui

Figma Aspect Ratio Component

The Aspect Ratio container maintains a fixed width‑to‑height ratio for embedded media. Use it to display images, videos or maps so they don’t distort when the page width changes. Simply set the desired ratio (e.g., 16:9) and drop in any content.

FAQs

Use it when you need to maintain a specific width‑to‑height proportion, such as video players, image placeholders or card covers.

Get access to all components

Buy now
Who is it for?

Join 6K+ pros who design & ship faster

Our ecosystem eliminates the friction between design and development. Every role gets exactly what they need to work and collaborate faster.

Designers

  • Ship pixel-perfect designs that developers can actually build

  • Design 10x faster with pre-built components and blocks

  • Stay current with AI tools that already understand your components

  • Focus on UX and conversion, not component building from scratch

  • Level up your skills with shadcn/ui best practices built-in

"Our company selected shadcn as our primary design library, and its been a fantastic choice. The design kit is sleek, modern, and offers excellent UX right out of the box. Its comprehensive variable system has significantly improved our efforts around branding and accessibility."

Ryan Almoneda

UX Designer @ BlackDuck

Level-up your workflow today

One-time payment
14 days refund policy