Auto Fit Height icon

Used to scale content to fit. Similar to Arrow Fit. Contains directional variants. The Auto Fit Height icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.

Regular (outlined)

SVG

Filled

SVG

Use the Auto Fit Height icon in React

Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.

npm install @fluentui/react-icons

import { AutoFitHeight24Regular, AutoFitHeight24Filled } from "@fluentui/react-icons";

export function Example() {
  return <AutoFitHeight24Regular aria-label="Auto Fit Height" />;
}

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_auto_fit_height_24_regular.svg" width="24" height="24" alt="Auto Fit Height">

Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:

<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.75 3C5.33579 3 5 3.33579 5 3.75C5 4.16421 5.33579 4.5 5.75 4.5H18.25C18.6642 4.5 19 4.16421 19 3.75C19 3.33579 18.6642 3 18.25 3H5.75ZM9.22162 14.2188C9.48789 13.9526 9.90455 13.9284 10.1982 14.1462L10.2823 14.2188L11.502 15.44V12.3691L11.5 12.3437V8.56L10.2803 9.78115L10.1962 9.85377C9.9026 10.0716 9.48594 10.0474 9.21967 9.78115C8.9534 9.51488 8.9292 9.09822 9.14705 8.80461L9.21967 8.72049L11.5871 6.35039C11.7128 6.14201 11.9629 6 12.2509 6C12.503 6 12.726 6.10886 12.862 6.27578L12.9148 6.35073L15.282 8.72049L15.3546 8.80461C15.5482 9.0656 15.5506 9.42381 15.3618 9.6872L15.282 9.78115L15.1979 9.85377C14.9369 10.0474 14.5787 10.0498 14.3153 9.86094L14.2213 9.78115L13 8.56V11.6308L13.002 11.6562V15.44L14.2233 14.2188C14.4895 13.9526 14.9062 13.9284 15.1998 14.1462L15.2839 14.2188C15.5502 14.4851 15.5744 14.9018 15.3565 15.1954L15.2839 15.2795L12.9167 17.6493C12.7911 17.8578 12.541 18 12.2529 18C11.9649 18 11.7147 17.858 11.589 17.6496L9.22162 15.2795C8.92873 14.9866 8.92873 14.5117 9.22162 14.2188ZM5 20.25C5 19.8358 5.33579 19.5 5.75 19.5H18.25C18.6642 19.5 19 19.8358 19 20.25C19 20.6642 18.6642 21 18.25 21H5.75C5.33579 21 5 20.6642 5 20.25Z" fill="currentColor"/></svg>

Use it from the SVG package

Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:

npm install @fluentui/svg-icons

import icon from "@fluentui/svg-icons/icons/auto_fit_height_24_regular.svg";

Details

NameAuto Fit Height
StylesRegular (outlined), Filled
Size24 × 24 px (scalable SVG)
Regular (outlined) fileic_fluent_auto_fit_height_24_regular.svg
Filled fileic_fluent_auto_fit_height_24_filled.svg
React componentsAutoFitHeight24Regular, AutoFitHeight24Filled
LicenseMIT (© Microsoft Corporation)

Keywords

pointdirectionhorizontalverticalscalefit

Related icons