# heading-2 icon

Heading 2. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/heading-2

- Category: Text & formatting
- Use it for: heading 2, h2
- Tags: heading, h2, level-2, title, header, headline, text, format, letter, h, number
- Family: bold, case-lower, case-sensitive, heading, heading-1, heading-3, italic, letter-spacing, pilcrow, spell-check, strikethrough, subscript, superscript, text-color, text-size, text-size-decrease, text-size-increase, type, type-plus, type-x, underline
- Component name: Heading2Icon
- Added: 2026-10-15

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/heading-2.svg · PNG https://gentleface.com/png/line-round/16/heading-2.png · https://gentleface.com/png/line-round/32/heading-2.png · https://gentleface.com/png/line-round/48/heading-2.png
- line-soft: https://gentleface.com/svg/line-soft/16/heading-2.svg · PNG https://gentleface.com/png/line-soft/16/heading-2.png · https://gentleface.com/png/line-soft/32/heading-2.png · https://gentleface.com/png/line-soft/48/heading-2.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/heading-2.svg · PNG https://gentleface.com/png/line-sharp/16/heading-2.png · https://gentleface.com/png/line-sharp/32/heading-2.png · https://gentleface.com/png/line-sharp/48/heading-2.png
- solid-round: https://gentleface.com/svg/solid-round/16/heading-2.svg · PNG https://gentleface.com/png/solid-round/16/heading-2.png · https://gentleface.com/png/solid-round/32/heading-2.png · https://gentleface.com/png/solid-round/48/heading-2.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/heading-2.svg · PNG https://gentleface.com/png/solid-soft/16/heading-2.png · https://gentleface.com/png/solid-soft/32/heading-2.png · https://gentleface.com/png/solid-soft/48/heading-2.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/heading-2.svg · PNG https://gentleface.com/png/solid-sharp/16/heading-2.png · https://gentleface.com/png/solid-sharp/32/heading-2.png · https://gentleface.com/png/solid-sharp/48/heading-2.png

The SVG of every style: https://gentleface.com/icons/heading-2.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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="M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z"/></svg>
```

### React

```tsx
// Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2
import type { SVGProps } from 'react';

export function Heading2Icon(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="M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2 -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2 -->
<script>
  let props = $props();
</script>

<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="M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/heading-2.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2. Takes the text color. */
.icon-heading-2 {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#heading-2"/></svg>
```

### SwiftUI

```swift
// Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2
import SwiftUI

struct Heading2Icon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7, y: 2.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 2.144), control1: CGPoint(x: 7, y: 2.359), control2: CGPoint(x: 7.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 7.241, y: 2.048), control2: CGPoint(x: 7.359, y: 2))
        p.addCurve(to: CGPoint(x: 7.856, y: 2.144), control1: CGPoint(x: 7.641, y: 2), control2: CGPoint(x: 7.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 8, y: 2.5), control1: CGPoint(x: 7.952, y: 2.241), control2: CGPoint(x: 8, y: 2.359))
        p.addLine(to: CGPoint(x: 8, y: 12.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 12.856), control1: CGPoint(x: 8, y: 12.641), control2: CGPoint(x: 7.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 13), control1: CGPoint(x: 7.759, y: 12.952), control2: CGPoint(x: 7.641, y: 13))
        p.addCurve(to: CGPoint(x: 7.144, y: 12.856), control1: CGPoint(x: 7.359, y: 13), control2: CGPoint(x: 7.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 7, y: 12.5), control1: CGPoint(x: 7.048, y: 12.759), control2: CGPoint(x: 7, y: 12.641))
        p.addLine(to: CGPoint(x: 7, y: 8))
        p.addLine(to: CGPoint(x: 2, y: 8))
        p.addLine(to: CGPoint(x: 2, y: 12.5))
        p.addCurve(to: CGPoint(x: 1.856, y: 12.856), control1: CGPoint(x: 2, y: 12.641), control2: CGPoint(x: 1.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 1.5, y: 13), control1: CGPoint(x: 1.759, y: 12.952), control2: CGPoint(x: 1.641, y: 13))
        p.addCurve(to: CGPoint(x: 1.144, y: 12.856), control1: CGPoint(x: 1.359, y: 13), control2: CGPoint(x: 1.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 1, y: 12.5), control1: CGPoint(x: 1.048, y: 12.759), control2: CGPoint(x: 1, y: 12.641))
        p.addLine(to: CGPoint(x: 1, y: 2.5))
        p.addCurve(to: CGPoint(x: 1.144, y: 2.144), control1: CGPoint(x: 1, y: 2.359), control2: CGPoint(x: 1.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 2), control1: CGPoint(x: 1.241, y: 2.048), control2: CGPoint(x: 1.359, y: 2))
        p.addCurve(to: CGPoint(x: 1.856, y: 2.144), control1: CGPoint(x: 1.641, y: 2), control2: CGPoint(x: 1.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 2, y: 2.5), control1: CGPoint(x: 1.952, y: 2.241), control2: CGPoint(x: 2, y: 2.359))
        p.addLine(to: CGPoint(x: 2, y: 7))
        p.addLine(to: CGPoint(x: 7, y: 7))
        p.addLine(to: CGPoint(x: 7, y: 2.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.854, y: 8.146))
        p.addLine(to: CGPoint(x: 13.854, y: 9.146))
        p.addCurve(to: CGPoint(x: 14.003, y: 9.5), control1: CGPoint(x: 13.953, y: 9.246), control2: CGPoint(x: 14.003, y: 9.364))
        p.addCurve(to: CGPoint(x: 13.854, y: 9.854), control1: CGPoint(x: 14.003, y: 9.636), control2: CGPoint(x: 13.953, y: 9.754))
        p.addLine(to: CGPoint(x: 11.707, y: 12))
        p.addLine(to: CGPoint(x: 13.5, y: 12))
        p.addCurve(to: CGPoint(x: 13.856, y: 12.144), control1: CGPoint(x: 13.641, y: 12), control2: CGPoint(x: 13.759, y: 12.048))
        p.addCurve(to: CGPoint(x: 14, y: 12.5), control1: CGPoint(x: 13.952, y: 12.241), control2: CGPoint(x: 14, y: 12.359))
        p.addCurve(to: CGPoint(x: 13.856, y: 12.856), control1: CGPoint(x: 14, y: 12.641), control2: CGPoint(x: 13.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 13), control1: CGPoint(x: 13.759, y: 12.952), control2: CGPoint(x: 13.641, y: 13))
        p.addLine(to: CGPoint(x: 10.5, y: 13))
        p.addCurve(to: CGPoint(x: 10.146, y: 12.854), control1: CGPoint(x: 10.362, y: 13), control2: CGPoint(x: 10.244, y: 12.951))
        p.addCurve(to: CGPoint(x: 9.997, y: 12.5), control1: CGPoint(x: 10.047, y: 12.754), control2: CGPoint(x: 9.997, y: 12.636))
        p.addCurve(to: CGPoint(x: 10.146, y: 12.146), control1: CGPoint(x: 9.997, y: 12.364), control2: CGPoint(x: 10.047, y: 12.246))
        p.addLine(to: CGPoint(x: 12.793, y: 9.5))
        p.addLine(to: CGPoint(x: 12.293, y: 9))
        p.addLine(to: CGPoint(x: 10.5, y: 9))
        p.addCurve(to: CGPoint(x: 10.144, y: 8.856), control1: CGPoint(x: 10.359, y: 9), control2: CGPoint(x: 10.241, y: 8.952))
        p.addCurve(to: CGPoint(x: 10, y: 8.5), control1: CGPoint(x: 10.048, y: 8.759), control2: CGPoint(x: 10, y: 8.641))
        p.addCurve(to: CGPoint(x: 10.144, y: 8.144), control1: CGPoint(x: 10, y: 8.359), control2: CGPoint(x: 10.048, y: 8.241))
        p.addCurve(to: CGPoint(x: 10.5, y: 8), control1: CGPoint(x: 10.241, y: 8.048), control2: CGPoint(x: 10.359, y: 8))
        p.addLine(to: CGPoint(x: 12.5, y: 8))
        p.addCurve(to: CGPoint(x: 12.854, y: 8.146), control1: CGPoint(x: 12.638, y: 8), control2: CGPoint(x: 12.756, y: 8.049))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// Heading2Icon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val Heading2Icon: ImageVector by lazy {
    ImageVector.Builder(
        name = "heading-2", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(Heading2Icon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_heading_2.xml · Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2 -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2
import 'package:flutter/widgets.dart';

class Heading2Icon extends StatelessWidget {
  const Heading2Icon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _Heading2IconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _Heading2IconPainter extends CustomPainter {
  _Heading2IconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(7, 2.5)
      ..cubicTo(7, 2.359, 7.048, 2.241, 7.144, 2.144)
      ..cubicTo(7.241, 2.048, 7.359, 2, 7.5, 2)
      ..cubicTo(7.641, 2, 7.759, 2.048, 7.856, 2.144)
      ..cubicTo(7.952, 2.241, 8, 2.359, 8, 2.5)
      ..lineTo(8, 12.5)
      ..cubicTo(8, 12.641, 7.952, 12.759, 7.856, 12.856)
      ..cubicTo(7.759, 12.952, 7.641, 13, 7.5, 13)
      ..cubicTo(7.359, 13, 7.241, 12.952, 7.144, 12.856)
      ..cubicTo(7.048, 12.759, 7, 12.641, 7, 12.5)
      ..lineTo(7, 8)
      ..lineTo(2, 8)
      ..lineTo(2, 12.5)
      ..cubicTo(2, 12.641, 1.952, 12.759, 1.856, 12.856)
      ..cubicTo(1.759, 12.952, 1.641, 13, 1.5, 13)
      ..cubicTo(1.359, 13, 1.241, 12.952, 1.144, 12.856)
      ..cubicTo(1.048, 12.759, 1, 12.641, 1, 12.5)
      ..lineTo(1, 2.5)
      ..cubicTo(1, 2.359, 1.048, 2.241, 1.144, 2.144)
      ..cubicTo(1.241, 2.048, 1.359, 2, 1.5, 2)
      ..cubicTo(1.641, 2, 1.759, 2.048, 1.856, 2.144)
      ..cubicTo(1.952, 2.241, 2, 2.359, 2, 2.5)
      ..lineTo(2, 7)
      ..lineTo(7, 7)
      ..lineTo(7, 2.5)
      ..close()
      ..moveTo(12.854, 8.146)
      ..lineTo(13.854, 9.146)
      ..cubicTo(13.953, 9.246, 14.003, 9.364, 14.003, 9.5)
      ..cubicTo(14.003, 9.636, 13.953, 9.754, 13.854, 9.854)
      ..lineTo(11.707, 12)
      ..lineTo(13.5, 12)
      ..cubicTo(13.641, 12, 13.759, 12.048, 13.856, 12.144)
      ..cubicTo(13.952, 12.241, 14, 12.359, 14, 12.5)
      ..cubicTo(14, 12.641, 13.952, 12.759, 13.856, 12.856)
      ..cubicTo(13.759, 12.952, 13.641, 13, 13.5, 13)
      ..lineTo(10.5, 13)
      ..cubicTo(10.362, 13, 10.244, 12.951, 10.146, 12.854)
      ..cubicTo(10.047, 12.754, 9.997, 12.636, 9.997, 12.5)
      ..cubicTo(9.997, 12.364, 10.047, 12.246, 10.146, 12.146)
      ..lineTo(12.793, 9.5)
      ..lineTo(12.293, 9)
      ..lineTo(10.5, 9)
      ..cubicTo(10.359, 9, 10.241, 8.952, 10.144, 8.856)
      ..cubicTo(10.048, 8.759, 10, 8.641, 10, 8.5)
      ..cubicTo(10, 8.359, 10.048, 8.241, 10.144, 8.144)
      ..cubicTo(10.241, 8.048, 10.359, 8, 10.5, 8)
      ..lineTo(12.5, 8)
      ..cubicTo(12.638, 8, 12.756, 8.049, 12.854, 8.146)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_Heading2IconPainter old) => old.color != color;
}
```
