# align-horizontal-center icon

Align horizontal center. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/align-horizontal-center

- Category: Design
- Use it for: align horizontal centers, center horizontally
- Tags: align, center, centre, horizontal, objects, arrange, layout, middle, axis, figma, design tool, ui design
- Family: align-objects-bottom, align-objects-bottom-three, align-objects-left, align-objects-left-three, align-objects-right, align-objects-right-three, align-objects-top, align-objects-top-three, align-vertical-center, distribute-horizontal, distribute-vertical
- Component name: AlignHorizontalCenterIcon
- Added: 2026-10-19

## Don't confuse with

- `align-center`: centers lines of text, not objects
- `align-vertical-center`: lines up middles on a horizontal axis; Lucide's align-center-vertical is this icon, so the names cross

## Also fits

- align center: align objects on a canvas to a common center (align-horizontal-centers)

## Not for

- align vertical centers (use `align-vertical-center`): lines up centers on a vertical axis; Lucide's align-center-horizontal is this icon, so the names cross

## 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/align-horizontal-center.svg · PNG https://gentleface.com/png/line-round/16/align-horizontal-center.png · https://gentleface.com/png/line-round/32/align-horizontal-center.png · https://gentleface.com/png/line-round/48/align-horizontal-center.png
- line-soft: https://gentleface.com/svg/line-soft/16/align-horizontal-center.svg · PNG https://gentleface.com/png/line-soft/16/align-horizontal-center.png · https://gentleface.com/png/line-soft/32/align-horizontal-center.png · https://gentleface.com/png/line-soft/48/align-horizontal-center.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/align-horizontal-center.svg · PNG https://gentleface.com/png/line-sharp/16/align-horizontal-center.png · https://gentleface.com/png/line-sharp/32/align-horizontal-center.png · https://gentleface.com/png/line-sharp/48/align-horizontal-center.png
- solid-round: https://gentleface.com/svg/solid-round/16/align-horizontal-center.svg · PNG https://gentleface.com/png/solid-round/16/align-horizontal-center.png · https://gentleface.com/png/solid-round/32/align-horizontal-center.png · https://gentleface.com/png/solid-round/48/align-horizontal-center.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/align-horizontal-center.svg · PNG https://gentleface.com/png/solid-soft/16/align-horizontal-center.png · https://gentleface.com/png/solid-soft/32/align-horizontal-center.png · https://gentleface.com/png/solid-soft/48/align-horizontal-center.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/align-horizontal-center.svg · PNG https://gentleface.com/png/solid-sharp/16/align-horizontal-center.png · https://gentleface.com/png/solid-sharp/32/align-horizontal-center.png · https://gentleface.com/png/solid-sharp/48/align-horizontal-center.png

The SVG of every style: https://gentleface.com/icons/align-horizontal-center.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="M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z"/></svg>
```

### React

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

export function AlignHorizontalCenterIcon(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="M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center -->
<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="M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center -->
<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="M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center. 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/align-horizontal-center.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center. Takes the text color. */
.icon-align-horizontal-center {
  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='M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z'/%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='M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z'/%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='M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center
     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#align-horizontal-center"/></svg>
```

### SwiftUI

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

struct AlignHorizontalCenterIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.707, y: 3.293))
        p.addCurve(to: CGPoint(x: 13, y: 4), control1: CGPoint(x: 12.902, y: 3.488), control2: CGPoint(x: 13, y: 3.724))
        p.addLine(to: CGPoint(x: 13, y: 6))
        p.addCurve(to: CGPoint(x: 12.707, y: 6.707), control1: CGPoint(x: 13, y: 6.276), control2: CGPoint(x: 12.902, y: 6.512))
        p.addCurve(to: CGPoint(x: 12, y: 7), control1: CGPoint(x: 12.512, y: 6.902), control2: CGPoint(x: 12.276, y: 7))
        p.addLine(to: CGPoint(x: 8, y: 7))
        p.addLine(to: CGPoint(x: 8, y: 9))
        p.addLine(to: CGPoint(x: 10, y: 9))
        p.addCurve(to: CGPoint(x: 10.707, y: 9.293), control1: CGPoint(x: 10.276, y: 9), control2: CGPoint(x: 10.512, y: 9.098))
        p.addCurve(to: CGPoint(x: 11, y: 10), control1: CGPoint(x: 10.902, y: 9.488), control2: CGPoint(x: 11, y: 9.724))
        p.addLine(to: CGPoint(x: 11, y: 12))
        p.addCurve(to: CGPoint(x: 10.707, y: 12.707), control1: CGPoint(x: 11, y: 12.276), control2: CGPoint(x: 10.902, y: 12.512))
        p.addCurve(to: CGPoint(x: 10, y: 13), control1: CGPoint(x: 10.512, y: 12.902), control2: CGPoint(x: 10.276, y: 13))
        p.addLine(to: CGPoint(x: 8, y: 13))
        p.addLine(to: CGPoint(x: 8, y: 14.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 14.856), control1: CGPoint(x: 8, y: 14.641), control2: CGPoint(x: 7.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 15), control1: CGPoint(x: 7.759, y: 14.952), control2: CGPoint(x: 7.641, y: 15))
        p.addCurve(to: CGPoint(x: 7.144, y: 14.856), control1: CGPoint(x: 7.359, y: 15), control2: CGPoint(x: 7.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 7, y: 14.5), control1: CGPoint(x: 7.048, y: 14.759), control2: CGPoint(x: 7, y: 14.641))
        p.addLine(to: CGPoint(x: 7, y: 13))
        p.addLine(to: CGPoint(x: 5, y: 13))
        p.addCurve(to: CGPoint(x: 4.293, y: 12.707), control1: CGPoint(x: 4.724, y: 13), control2: CGPoint(x: 4.488, y: 12.902))
        p.addCurve(to: CGPoint(x: 4, y: 12), control1: CGPoint(x: 4.098, y: 12.512), control2: CGPoint(x: 4, y: 12.276))
        p.addLine(to: CGPoint(x: 4, y: 10))
        p.addCurve(to: CGPoint(x: 4.293, y: 9.293), control1: CGPoint(x: 4, y: 9.724), control2: CGPoint(x: 4.098, y: 9.488))
        p.addCurve(to: CGPoint(x: 5, y: 9), control1: CGPoint(x: 4.488, y: 9.098), control2: CGPoint(x: 4.724, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 7))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addCurve(to: CGPoint(x: 2.293, y: 6.707), control1: CGPoint(x: 2.724, y: 7), control2: CGPoint(x: 2.488, y: 6.902))
        p.addCurve(to: CGPoint(x: 2, y: 6), control1: CGPoint(x: 2.098, y: 6.512), control2: CGPoint(x: 2, y: 6.276))
        p.addLine(to: CGPoint(x: 2, y: 4))
        p.addCurve(to: CGPoint(x: 2.293, y: 3.293), control1: CGPoint(x: 2, y: 3.724), control2: CGPoint(x: 2.098, y: 3.488))
        p.addCurve(to: CGPoint(x: 3, y: 3), control1: CGPoint(x: 2.488, y: 3.098), control2: CGPoint(x: 2.724, y: 3))
        p.addLine(to: CGPoint(x: 7, y: 3))
        p.addLine(to: CGPoint(x: 7, y: 1.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 1.144), control1: CGPoint(x: 7, y: 1.359), control2: CGPoint(x: 7.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 7.241, y: 1.048), control2: CGPoint(x: 7.359, y: 1))
        p.addCurve(to: CGPoint(x: 7.856, y: 1.144), control1: CGPoint(x: 7.641, y: 1), control2: CGPoint(x: 7.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 8, y: 1.5), control1: CGPoint(x: 7.952, y: 1.241), control2: CGPoint(x: 8, y: 1.359))
        p.addLine(to: CGPoint(x: 8, y: 3))
        p.addLine(to: CGPoint(x: 12, y: 3))
        p.addCurve(to: CGPoint(x: 12.707, y: 3.293), control1: CGPoint(x: 12.276, y: 3), control2: CGPoint(x: 12.512, y: 3.098))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3, y: 6))
        p.addLine(to: CGPoint(x: 12, y: 6))
        p.addLine(to: CGPoint(x: 12, y: 4))
        p.addLine(to: CGPoint(x: 3, y: 4))
        p.addLine(to: CGPoint(x: 3, y: 6))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5, y: 12))
        p.addLine(to: CGPoint(x: 10, y: 12))
        p.addLine(to: CGPoint(x: 10, y: 10))
        p.addLine(to: CGPoint(x: 5, y: 10))
        p.addLine(to: CGPoint(x: 5, y: 12))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center
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 AlignHorizontalCenterIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "align-horizontal-center", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_align_horizontal_center.xml · Gentleface "align-horizontal-center" (line-round), MIT. https://gentleface.com/icons/align-horizontal-center -->
<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="M12.707 3.293C12.902 3.488 13 3.724 13 4L13 6C13 6.276 12.902 6.512 12.707 6.707C12.512 6.902 12.276 7 12 7L8 7L8 9L10 9C10.276 9 10.512 9.098 10.707 9.293C10.902 9.488 11 9.724 11 10L11 12C11 12.276 10.902 12.512 10.707 12.707C10.512 12.902 10.276 13 10 13L8 13L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 13L5 13C4.724 13 4.488 12.902 4.293 12.707C4.098 12.512 4 12.276 4 12L4 10C4 9.724 4.098 9.488 4.293 9.293C4.488 9.098 4.724 9 5 9L7 9L7 7L3 7C2.724 7 2.488 6.902 2.293 6.707C2.098 6.512 2 6.276 2 6L2 4C2 3.724 2.098 3.488 2.293 3.293C2.488 3.098 2.724 3 3 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM3 6L12 6L12 4L3 4L3 6ZM5 12L10 12L10 10L5 10L5 12Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12.707, 3.293)
      ..cubicTo(12.902, 3.488, 13, 3.724, 13, 4)
      ..lineTo(13, 6)
      ..cubicTo(13, 6.276, 12.902, 6.512, 12.707, 6.707)
      ..cubicTo(12.512, 6.902, 12.276, 7, 12, 7)
      ..lineTo(8, 7)
      ..lineTo(8, 9)
      ..lineTo(10, 9)
      ..cubicTo(10.276, 9, 10.512, 9.098, 10.707, 9.293)
      ..cubicTo(10.902, 9.488, 11, 9.724, 11, 10)
      ..lineTo(11, 12)
      ..cubicTo(11, 12.276, 10.902, 12.512, 10.707, 12.707)
      ..cubicTo(10.512, 12.902, 10.276, 13, 10, 13)
      ..lineTo(8, 13)
      ..lineTo(8, 14.5)
      ..cubicTo(8, 14.641, 7.952, 14.759, 7.856, 14.856)
      ..cubicTo(7.759, 14.952, 7.641, 15, 7.5, 15)
      ..cubicTo(7.359, 15, 7.241, 14.952, 7.144, 14.856)
      ..cubicTo(7.048, 14.759, 7, 14.641, 7, 14.5)
      ..lineTo(7, 13)
      ..lineTo(5, 13)
      ..cubicTo(4.724, 13, 4.488, 12.902, 4.293, 12.707)
      ..cubicTo(4.098, 12.512, 4, 12.276, 4, 12)
      ..lineTo(4, 10)
      ..cubicTo(4, 9.724, 4.098, 9.488, 4.293, 9.293)
      ..cubicTo(4.488, 9.098, 4.724, 9, 5, 9)
      ..lineTo(7, 9)
      ..lineTo(7, 7)
      ..lineTo(3, 7)
      ..cubicTo(2.724, 7, 2.488, 6.902, 2.293, 6.707)
      ..cubicTo(2.098, 6.512, 2, 6.276, 2, 6)
      ..lineTo(2, 4)
      ..cubicTo(2, 3.724, 2.098, 3.488, 2.293, 3.293)
      ..cubicTo(2.488, 3.098, 2.724, 3, 3, 3)
      ..lineTo(7, 3)
      ..lineTo(7, 1.5)
      ..cubicTo(7, 1.359, 7.048, 1.241, 7.144, 1.144)
      ..cubicTo(7.241, 1.048, 7.359, 1, 7.5, 1)
      ..cubicTo(7.641, 1, 7.759, 1.048, 7.856, 1.144)
      ..cubicTo(7.952, 1.241, 8, 1.359, 8, 1.5)
      ..lineTo(8, 3)
      ..lineTo(12, 3)
      ..cubicTo(12.276, 3, 12.512, 3.098, 12.707, 3.293)
      ..close()
      ..moveTo(3, 6)
      ..lineTo(12, 6)
      ..lineTo(12, 4)
      ..lineTo(3, 4)
      ..lineTo(3, 6)
      ..close()
      ..moveTo(5, 12)
      ..lineTo(10, 12)
      ..lineTo(10, 10)
      ..lineTo(5, 10)
      ..lineTo(5, 12)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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