# align-center icon

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

- Category: Text & formatting
- Use it for: align center, text align center, center text, centre text, align centre
- Tags: align, alignment, center, middle, paragraph, text, format
- Family: align-justify, align-left, align-right, indent-decrease, indent-increase
- Component name: AlignCenterIcon
- Added: 2026-10-14

## Alternatives

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

## Not for

- align horizontal centers (use `align-horizontal-center`): centers lines of text, not objects

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

The SVG of every style: https://gentleface.com/icons/align-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="M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z"/></svg>
```

### React

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

export function AlignCenterIcon(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="M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "align-center" (line-round), MIT. https://gentleface.com/icons/align-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="M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "align-center" (line-round), MIT. https://gentleface.com/icons/align-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="M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "align-center" (line-round), MIT. https://gentleface.com/icons/align-center. Takes the text color. */
.icon-align-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='M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z'/%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='M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z'/%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='M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct AlignCenterIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 1.144, y: 3.856))
        p.addCurve(to: CGPoint(x: 1, y: 3.5), control1: CGPoint(x: 1.048, y: 3.759), control2: CGPoint(x: 1, y: 3.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 3.144), control1: CGPoint(x: 1, y: 3.359), control2: CGPoint(x: 1.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 3), control1: CGPoint(x: 1.241, y: 3.048), control2: CGPoint(x: 1.359, y: 3))
        p.addLine(to: CGPoint(x: 14.5, y: 3))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.144), control1: CGPoint(x: 14.641, y: 3), control2: CGPoint(x: 14.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 15, y: 3.5), control1: CGPoint(x: 14.952, y: 3.241), control2: CGPoint(x: 15, y: 3.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.856), control1: CGPoint(x: 15, y: 3.641), control2: CGPoint(x: 14.952, y: 3.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 4), control1: CGPoint(x: 14.759, y: 3.952), control2: CGPoint(x: 14.641, y: 4))
        p.addLine(to: CGPoint(x: 1.5, y: 4))
        p.addCurve(to: CGPoint(x: 1.144, y: 3.856), control1: CGPoint(x: 1.359, y: 4), control2: CGPoint(x: 1.241, y: 3.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.144, y: 6.856))
        p.addCurve(to: CGPoint(x: 4, y: 6.5), control1: CGPoint(x: 4.048, y: 6.759), control2: CGPoint(x: 4, y: 6.641))
        p.addCurve(to: CGPoint(x: 4.144, y: 6.144), control1: CGPoint(x: 4, y: 6.359), control2: CGPoint(x: 4.048, y: 6.241))
        p.addCurve(to: CGPoint(x: 4.5, y: 6), control1: CGPoint(x: 4.241, y: 6.048), control2: CGPoint(x: 4.359, y: 6))
        p.addLine(to: CGPoint(x: 11.5, y: 6))
        p.addCurve(to: CGPoint(x: 11.856, y: 6.144), control1: CGPoint(x: 11.641, y: 6), control2: CGPoint(x: 11.759, y: 6.048))
        p.addCurve(to: CGPoint(x: 12, y: 6.5), control1: CGPoint(x: 11.952, y: 6.241), control2: CGPoint(x: 12, y: 6.359))
        p.addCurve(to: CGPoint(x: 11.856, y: 6.856), control1: CGPoint(x: 12, y: 6.641), control2: CGPoint(x: 11.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 11.5, y: 7), control1: CGPoint(x: 11.759, y: 6.952), control2: CGPoint(x: 11.641, y: 7))
        p.addLine(to: CGPoint(x: 4.5, y: 7))
        p.addCurve(to: CGPoint(x: 4.144, y: 6.856), control1: CGPoint(x: 4.359, y: 7), control2: CGPoint(x: 4.241, y: 6.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.856, y: 9.144))
        p.addCurve(to: CGPoint(x: 15, y: 9.5), control1: CGPoint(x: 14.952, y: 9.241), control2: CGPoint(x: 15, y: 9.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 9.856), control1: CGPoint(x: 15, y: 9.641), control2: CGPoint(x: 14.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 10), control1: CGPoint(x: 14.759, y: 9.952), control2: CGPoint(x: 14.641, y: 10))
        p.addLine(to: CGPoint(x: 1.5, y: 10))
        p.addCurve(to: CGPoint(x: 1.144, y: 9.856), control1: CGPoint(x: 1.359, y: 10), control2: CGPoint(x: 1.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 1, y: 9.5), control1: CGPoint(x: 1.048, y: 9.759), control2: CGPoint(x: 1, y: 9.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 9.144), control1: CGPoint(x: 1, y: 9.359), control2: CGPoint(x: 1.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 9), control1: CGPoint(x: 1.241, y: 9.048), control2: CGPoint(x: 1.359, y: 9))
        p.addLine(to: CGPoint(x: 14.5, y: 9))
        p.addCurve(to: CGPoint(x: 14.856, y: 9.144), control1: CGPoint(x: 14.641, y: 9), control2: CGPoint(x: 14.759, y: 9.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.144, y: 12.856))
        p.addCurve(to: CGPoint(x: 4, y: 12.5), control1: CGPoint(x: 4.048, y: 12.759), control2: CGPoint(x: 4, y: 12.641))
        p.addCurve(to: CGPoint(x: 4.144, y: 12.144), control1: CGPoint(x: 4, y: 12.359), control2: CGPoint(x: 4.048, y: 12.241))
        p.addCurve(to: CGPoint(x: 4.5, y: 12), control1: CGPoint(x: 4.241, y: 12.048), control2: CGPoint(x: 4.359, y: 12))
        p.addLine(to: CGPoint(x: 11.5, y: 12))
        p.addCurve(to: CGPoint(x: 11.856, y: 12.144), control1: CGPoint(x: 11.641, y: 12), control2: CGPoint(x: 11.759, y: 12.048))
        p.addCurve(to: CGPoint(x: 12, y: 12.5), control1: CGPoint(x: 11.952, y: 12.241), control2: CGPoint(x: 12, y: 12.359))
        p.addCurve(to: CGPoint(x: 11.856, y: 12.856), control1: CGPoint(x: 12, y: 12.641), control2: CGPoint(x: 11.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 11.5, y: 13), control1: CGPoint(x: 11.759, y: 12.952), control2: CGPoint(x: 11.641, y: 13))
        p.addLine(to: CGPoint(x: 4.5, y: 13))
        p.addCurve(to: CGPoint(x: 4.144, y: 12.856), control1: CGPoint(x: 4.359, y: 13), control2: CGPoint(x: 4.241, y: 12.952))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "align-center" (line-round), MIT. https://gentleface.com/icons/align-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 AlignCenterIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "align-center", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_align_center.xml · Gentleface "align-center" (line-round), MIT. https://gentleface.com/icons/align-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="M1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.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 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L11.5 6C11.641 6 11.759 6.048 11.856 6.144C11.952 6.241 12 6.359 12 6.5C12 6.641 11.952 6.759 11.856 6.856C11.759 6.952 11.641 7 11.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM4.144 12.856C4.048 12.759 4 12.641 4 12.5C4 12.359 4.048 12.241 4.144 12.144C4.241 12.048 4.359 12 4.5 12L11.5 12C11.641 12 11.759 12.048 11.856 12.144C11.952 12.241 12 12.359 12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L4.5 13C4.359 13 4.241 12.952 4.144 12.856Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(1.144, 3.856)
      ..cubicTo(1.048, 3.759, 1, 3.641, 1, 3.5)
      ..cubicTo(1, 3.359, 1.048, 3.241, 1.144, 3.144)
      ..cubicTo(1.241, 3.048, 1.359, 3, 1.5, 3)
      ..lineTo(14.5, 3)
      ..cubicTo(14.641, 3, 14.759, 3.048, 14.856, 3.144)
      ..cubicTo(14.952, 3.241, 15, 3.359, 15, 3.5)
      ..cubicTo(15, 3.641, 14.952, 3.759, 14.856, 3.856)
      ..cubicTo(14.759, 3.952, 14.641, 4, 14.5, 4)
      ..lineTo(1.5, 4)
      ..cubicTo(1.359, 4, 1.241, 3.952, 1.144, 3.856)
      ..close()
      ..moveTo(4.144, 6.856)
      ..cubicTo(4.048, 6.759, 4, 6.641, 4, 6.5)
      ..cubicTo(4, 6.359, 4.048, 6.241, 4.144, 6.144)
      ..cubicTo(4.241, 6.048, 4.359, 6, 4.5, 6)
      ..lineTo(11.5, 6)
      ..cubicTo(11.641, 6, 11.759, 6.048, 11.856, 6.144)
      ..cubicTo(11.952, 6.241, 12, 6.359, 12, 6.5)
      ..cubicTo(12, 6.641, 11.952, 6.759, 11.856, 6.856)
      ..cubicTo(11.759, 6.952, 11.641, 7, 11.5, 7)
      ..lineTo(4.5, 7)
      ..cubicTo(4.359, 7, 4.241, 6.952, 4.144, 6.856)
      ..close()
      ..moveTo(14.856, 9.144)
      ..cubicTo(14.952, 9.241, 15, 9.359, 15, 9.5)
      ..cubicTo(15, 9.641, 14.952, 9.759, 14.856, 9.856)
      ..cubicTo(14.759, 9.952, 14.641, 10, 14.5, 10)
      ..lineTo(1.5, 10)
      ..cubicTo(1.359, 10, 1.241, 9.952, 1.144, 9.856)
      ..cubicTo(1.048, 9.759, 1, 9.641, 1, 9.5)
      ..cubicTo(1, 9.359, 1.048, 9.241, 1.144, 9.144)
      ..cubicTo(1.241, 9.048, 1.359, 9, 1.5, 9)
      ..lineTo(14.5, 9)
      ..cubicTo(14.641, 9, 14.759, 9.048, 14.856, 9.144)
      ..close()
      ..moveTo(4.144, 12.856)
      ..cubicTo(4.048, 12.759, 4, 12.641, 4, 12.5)
      ..cubicTo(4, 12.359, 4.048, 12.241, 4.144, 12.144)
      ..cubicTo(4.241, 12.048, 4.359, 12, 4.5, 12)
      ..lineTo(11.5, 12)
      ..cubicTo(11.641, 12, 11.759, 12.048, 11.856, 12.144)
      ..cubicTo(11.952, 12.241, 12, 12.359, 12, 12.5)
      ..cubicTo(12, 12.641, 11.952, 12.759, 11.856, 12.856)
      ..cubicTo(11.759, 12.952, 11.641, 13, 11.5, 13)
      ..lineTo(4.5, 13)
      ..cubicTo(4.359, 13, 4.241, 12.952, 4.144, 12.856)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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