gentleface

Gentleface › Arrows › fit-height

fit-height icon

Fit height: fit height, fill height, full height, auto scale. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated fit-height-jack · line-round

The frame closes from top and bottom and squeezes the arrow short. The arrow then jacks it open again in three clicks, each head kicking first and the frame following, and overshoots at the last.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.22 2.22C3.073 2.366 3 2.543 3 2.75L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.75C2 2.527 2.041 2.313 2.123 2.106C2.212 1.881 2.342 1.683 2.513 1.513C2.683 1.342 2.881 1.212 3.106 1.123C3.313 1.041 3.527 1 3.75 1L4.5 1C4.641 1 4.759 1.048 4.856 1.144C4.952 1.241 5 1.359 5 1.5C5 1.641 4.952 1.759 4.856 1.856C4.759 1.952 4.641 2 4.5 2L3.75 2C3.543 2 3.366 2.073 3.22 2.22ZM10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L11.25 1C11.473 1 11.687 1.041 11.894 1.123C12.119 1.212 12.317 1.342 12.487 1.513C12.658 1.683 12.788 1.881 12.877 2.106C12.959 2.313 13 2.527 13 2.75L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 2.75C12 2.543 11.927 2.366 11.78 2.22C11.634 2.073 11.457 2 11.25 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856ZM10 5.5C10 5.638 9.951 5.756 9.854 5.854C9.754 5.953 9.636 6.003 9.5 6.003C9.364 6.003 9.246 5.953 9.146 5.854L8 4.707L8 11.293L9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146C9.953 10.246 10.003 10.364 10.003 10.5C10.003 10.636 9.953 10.754 9.854 10.854L7.854 12.854C7.754 12.953 7.636 13.003 7.5 13.003C7.364 13.003 7.246 12.953 7.146 12.854L5.146 10.854C5.047 10.754 4.997 10.636 4.997 10.5C4.997 10.364 5.047 10.246 5.146 10.146C5.244 10.049 5.362 10 5.5 10C5.638 10 5.756 10.049 5.854 10.146L7 11.293L7 4.707L5.854 5.854C5.754 5.953 5.636 6.003 5.5 6.003C5.364 6.003 5.246 5.953 5.146 5.854C5.047 5.754 4.997 5.636 4.997 5.5C4.997 5.364 5.047 5.246 5.146 5.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146L9.854 5.146C9.951 5.244 10 5.362 10 5.5ZM4.856 14.144C4.952 14.241 5 14.359 5 14.5C5 14.641 4.952 14.759 4.856 14.856C4.759 14.952 4.641 15 4.5 15L3.75 15C3.527 15 3.313 14.959 3.106 14.877C2.881 14.788 2.683 14.658 2.513 14.487C2.342 14.317 2.212 14.119 2.123 13.894C2.041 13.687 2 13.473 2 13.25L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11C2.641 11 2.759 11.048 2.856 11.144C2.952 11.241 3 11.359 3 11.5L3 13.25C3 13.457 3.073 13.634 3.22 13.78C3.366 13.927 3.543 14 3.75 14L4.5 14C4.641 14 4.759 14.048 4.856 14.144ZM11.78 13.78C11.927 13.634 12 13.457 12 13.25L12 11.5C12 11.359 12.048 11.241 12.144 11.144C12.241 11.048 12.359 11 12.5 11C12.641 11 12.759 11.048 12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 13.25C13 13.473 12.959 13.687 12.877 13.894C12.788 14.119 12.658 14.317 12.487 14.487C12.317 14.658 12.119 14.788 11.894 14.877C11.687 14.959 11.473 15 11.25 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11.25 14C11.457 14 11.634 13.927 11.78 13.78Z"/></svg>
React
// Gentleface "fit-height" (line-round), MIT. https://gentleface.com/icons/fit-height
import type { SVGProps } from 'react';

export function FitHeightIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.22 2.22C3.073 2.366 3 2.543 3 2.75L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.75C2 2.527 2.041 2.313 2.123 2.106C2.212 1.881 2.342 1.683 2.513 1.513C2.683 1.342 2.881 1.212 3.106 1.123C3.313 1.041 3.527 1 3.75 1L4.5 1C4.641 1 4.759 1.048 4.856 1.144C4.952 1.241 5 1.359 5 1.5C5 1.641 4.952 1.759 4.856 1.856C4.759 1.952 4.641 2 4.5 2L3.75 2C3.543 2 3.366 2.073 3.22 2.22ZM10.144 1.856C10.048 1.759 10 1.641 10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1L11.25 1C11.473 1 11.687 1.041 11.894 1.123C12.119 1.212 12.317 1.342 12.487 1.513C12.658 1.683 12.788 1.881 12.877 2.106C12.959 2.313 13 2.527 13 2.75L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 2.75C12 2.543 11.927 2.366 11.78 2.22C11.634 2.073 11.457 2 11.25 2L10.5 2C10.359 2 10.241 1.952 10.144 1.856ZM10 5.5C10 5.638 9.951 5.756 9.854 5.854C9.754 5.953 9.636 6.003 9.5 6.003C9.364 6.003 9.246 5.953 9.146 5.854L8 4.707L8 11.293L9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146C9.953 10.246 10.003 10.364 10.003 10.5C10.003 10.636 9.953 10.754 9.854 10.854L7.854 12.854C7.754 12.953 7.636 13.003 7.5 13.003C7.364 13.003 7.246 12.953 7.146 12.854L5.146 10.854C5.047 10.754 4.997 10.636 4.997 10.5C4.997 10.364 5.047 10.246 5.146 10.146C5.244 10.049 5.362 10 5.5 10C5.638 10 5.756 10.049 5.854 10.146L7 11.293L7 4.707L5.854 5.854C5.754 5.953 5.636 6.003 5.5 6.003C5.364 6.003 5.246 5.953 5.146 5.854C5.047 5.754 4.997 5.636 4.997 5.5C4.997 5.364 5.047 5.246 5.146 5.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146L9.854 5.146C9.951 5.244 10 5.362 10 5.5ZM4.856 14.144C4.952 14.241 5 14.359 5 14.5C5 14.641 4.952 14.759 4.856 14.856C4.759 14.952 4.641 15 4.5 15L3.75 15C3.527 15 3.313 14.959 3.106 14.877C2.881 14.788 2.683 14.658 2.513 14.487C2.342 14.317 2.212 14.119 2.123 13.894C2.041 13.687 2 13.473 2 13.25L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11C2.641 11 2.759 11.048 2.856 11.144C2.952 11.241 3 11.359 3 11.5L3 13.25C3 13.457 3.073 13.634 3.22 13.78C3.366 13.927 3.543 14 3.75 14L4.5 14C4.641 14 4.759 14.048 4.856 14.144ZM11.78 13.78C11.927 13.634 12 13.457 12 13.25L12 11.5C12 11.359 12.048 11.241 12.144 11.144C12.241 11.048 12.359 11 12.5 11C12.641 11 12.759 11.048 12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 13.25C13 13.473 12.959 13.687 12.877 13.894C12.788 14.119 12.658 14.317 12.487 14.487C12.317 14.658 12.119 14.788 11.894 14.877C11.687 14.959 11.473 15 11.25 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11.25 14C11.457 14 11.634 13.927 11.78 13.78Z" />
    </svg>
  );
}
Vue
Vue: see /icons/fit-height.md
Svelte
Svelte: see /icons/fit-height.md
HTML img
HTML img: see /icons/fit-height.md
CSS
CSS: see /icons/fit-height.md
Data URL
Data URL: see /icons/fit-height.md
Sprite
Sprite: see /icons/fit-height.md
SwiftUI
SwiftUI: see /icons/fit-height.md
Compose
Compose: see /icons/fit-height.md
Android XML
Android XML: see /icons/fit-height.md
Flutter
Flutter: see /icons/fit-height.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { FitHeightIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
fit height, fill height, full height, auto scale
Alternatives
  • fit-width: fit or fill the width instead (fit-width)
  • move-vertical: resize the height by dragging (resize-vertical)
Also fits
  • zoom to fit: fit only the height of a page (fit-height)
  • fit width: fit or fill the height instead (fit-height)
  • resize vertical: fit content to the available height (fit-height)
Tags
fit, height, fill, stretch, page-height, zoom, vertical, viewer, auto-layout
Category
Arrows
Component name
FitHeightIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 49

More arrows icons

For agents

Metadata: /icons/fit-height.json · Markdown: /icons/fit-height.md · SVG: https://gentleface.com/svg/{style}/16/fit-height.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/fit-height.png