gentleface

Gentleface › Text & formatting › line-height

line-height icon

Line height: line height, line spacing, leading. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

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.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z"/></svg>
React
// Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height
import type { SVGProps } from 'react';

export function LineHeightIcon(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.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z" />
    </svg>
  );
}
Vue
Vue: see /icons/line-height.md
Svelte
Svelte: see /icons/line-height.md
HTML img
HTML img: see /icons/line-height.md
CSS
CSS: see /icons/line-height.md
Data URL
Data URL: see /icons/line-height.md
Sprite
Sprite: see /icons/line-height.md
SwiftUI
SwiftUI: see /icons/line-height.md
Compose
Compose: see /icons/line-height.md
Android XML
Android XML: see /icons/line-height.md
Flutter
Flutter: see /icons/line-height.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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 { LineHeightIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
line height, line spacing, leading
Tags
line height, line spacing, leading, paragraph spacing, spacing, lines, vertical spacing, text, format, typography
Category
Text & formatting
Component name
LineHeightIcon
History
  • released in 0.2.0
  • added
Since
version 0.2.0

Family 23

More text & formatting icons

For agents

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