The v-aspect-ratio directive can be used to fix any section to a specific aspect ratio regardless of the screen size. To use it, simply add v-aspect-ratio="width/height" to any HTML element or Vue component. Internally, v-aspect-ratio is being used in our lazy-image component.
![]()
The Vue3 UI library developed by us at brandcompete GmbH provides a comprehensive and growing set of tools for building modern, consistent user interfaces
©2026 brandcompete GmbH