Aspect Ratio icon
hugeicons:aspect-ratio
The Aspect Ratio icon (hugeicons:aspect-ratio) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- aspectratio
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M2 12c0-4.243 0-6.364 1.172-7.682S6.229 3 10 3h4c3.771 0 5.657 0 6.828 1.318S22 7.758 22 12s0 6.364-1.172 7.682S17.771 21 14 21h-4c-3.771 0-5.657 0-6.828-1.318S2 16.242 2 12Z"/><path d="M2 9h8c2.828 0 4.243 0 5.121.879C16 10.757 16 12.172 16 15v6m-6 0V9"/></g></svg>How to use the Aspect Ratio icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:aspect-ratio" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:aspect-ratio" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:aspect-ratio" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--aspect-ratio]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:aspect-ratio"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:aspect-ratio"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/aspect-ratio.svg" alt="Aspect Ratio icon" width="24" height="24">Aspect Ratio icon in other icon sets
Aspect Ratio icon FAQ
Is the Aspect Ratio icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Aspect Ratio icon in React?
Install @iconify/react and render <Icon icon="hugeicons:aspect-ratio" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Aspect Ratio icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/aspect-ratio.svg" alt="Aspect Ratio icon">, or paste the SVG code inline to style it with CSS.