templUI Pro coming soon  

50% OFF Join Waitlist

Aspect Ratio

A component for maintaining consistent width-to-height ratios across different screen sizes.

TailwindCSS

Example image

Usage

@components.AspectRatio(components.AspectRatioProps{...})

© 2025 templui. Stupid code not excluded.