Aspect Ratio Card

Show Preview
Aspect Ratio Card
Aspect Ratio Card

About Aspect Ratio Card

About

Aspect Ratio Card switches a picture between your own aspect ratios while keeping the same area, so a change of format looks like a crop, not a resize.

Customize

Items is an editable list of formats, each with a custom ratio, an image, a link and New Tab, capped at eight.

  • Transition — how quickly the crop changes

  • Picture — Stretch (fills the space above the bar) or Fixed (a size independent of the frame), plus Radius

  • Bar — Button Height, Padding, Radius, Icon Size and Gap

  • Colors — Icon, Icon On, Track, Active Background and Fill

Who is this for?

  • Product websites

  • Interactive websites

  • Landing pages

  • Creative websites

  • Portfolios

  • Personal websites

Share your build

If you build something with Aspect Ratio Card, I'd love to see it. Feel free to share it on X and tag me @tilljanek.

Need help?

Questions, feedback, or feature requests? Reach out anytime at support@tilljanek.com or on X.

Based on the MIT-licensed Aspect Ratio by Bencho (bencho.dev).

From Till Janek

Spotlight Carousel
Card Depth Carousel
Submenu Sidebar Nav
Adaptive Pill Navbar

Related Components

Testimonials Loop
Story Breeze
Spatial Carousel
DNA Carousel