aspect ratio icon

aspect-ratio from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.

Name
aspect-ratio
Set
Huge Icons
Style
Stroke
Viewbox
24×24
License
MIT

The same icon in other sets

Use the aspect ratio icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>

React

import type { SVGProps } from "react";

export function HugeiconsAspectRatio(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeWidth="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>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
</template>

CSS

.icon-aspect-ratio {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M2%2012c0-4.243%200-6.364%201.172-7.682S6.229%203%2010%203h4c3.771%200%205.657%200%206.828%201.318S22%207.758%2022%2012s0%206.364-1.172%207.682S17.771%2021%2014%2021h-4c-3.771%200-5.657%200-6.828-1.318S2%2016.242%202%2012Z%22%2F%3E%3Cpath%20d%3D%22M2%209h8c2.828%200%204.243%200%205.121.879C16%2010.757%2016%2012.172%2016%2015v6m-6%200V9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M2%2012c0-4.243%200-6.364%201.172-7.682S6.229%203%2010%203h4c3.771%200%205.657%200%206.828%201.318S22%207.758%2022%2012s0%206.364-1.172%207.682S17.771%2021%2014%2021h-4c-3.771%200-5.657%200-6.828-1.318S2%2016.242%202%2012Z%22%2F%3E%3Cpath%20d%3D%22M2%209h8c2.828%200%204.243%200%205.121.879C16%2010.757%2016%2012.172%2016%2015v6m-6%200V9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/aspect-ratio.svg?color=%231a73e8&size=48