ICONYZ
English
Auto Fit Contents icon from Fluent UI MDL2

Auto Fit Contents icon

fluent-mdl2:auto-fit-contents

The Auto Fit Contents icon (fluent-mdl2:auto-fit-contents) is a free SVG icon from the Fluent UI MDL2 set by Microsoft Corporation. It is drawn on a 2048 × 2048 grid. Fluent UI MDL2 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
Fluent UI MDL2
Author
Microsoft Corporation
License
MIT
Size
2048 × 2048
Tags
autofit, fitcontents, autofitcontents, content
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="2048" height="2048" viewBox="0 0 2048 2048"><path fill="currentColor" d="M0 2048V896h2048v1152h-128v-128h-512v128h-128v-128H768v128H640v-128H128v128zm1280-256v-384H768v384zm640 0v-384h-512v384zM128 1024v256h1792v-256zm0 384v384h512v-384zm0-896v256H0V128h128v256h384v128zm1792-384h128v640h-128V512h-512V384h512zM896 293l-91 91l-165-165l91-91zm384-74l-165 165l-91-91l165-165zm0 458l-91 91l-165-165l91-91zm-384-74L719 768l-79-91l165-165z"/></svg>

How to use the Auto Fit Contents icon

React

import { Icon } from "@iconify/react";

<Icon icon="fluent-mdl2:auto-fit-contents" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fluent-mdl2:auto-fit-contents" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fluent-mdl2:auto-fit-contents" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-mdl2--auto-fit-contents]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent-mdl2 -->
<div class="i-fluent-mdl2:auto-fit-contents"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="fluent-mdl2:auto-fit-contents"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-mdl2/auto-fit-contents.svg" alt="Auto Fit Contents icon" width="24" height="24">

Related icons in Fluent UI MDL2

Auto Fit Contents icon FAQ

Is the Auto Fit Contents icon free for commercial use?

Yes. Fluent UI MDL2 icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Auto Fit Contents icon in React?

Install @iconify/react and render <Icon icon="fluent-mdl2:auto-fit-contents" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Auto Fit Contents icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-mdl2/auto-fit-contents.svg" alt="Auto Fit Contents icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent UI MDL2 icons →