# justify-horizontal-center icon

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

- Category: Design
- Use it for: justify center, pack items center
- Tags: justify, justify content, center, centre, pack, pack center, main axis, items, flexbox, auto layout, arrange, layout, css, figma, design tool, ui design
- Family: justify-horizontal-end, justify-horizontal-start, justify-vertical-center, justify-vertical-end, justify-vertical-start
- Component name: JustifyHorizontalCenterIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { JustifyHorizontalCenterIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

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

The SVG of every style: https://gentleface.com/icons/justify-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="M7.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z"/></svg>
```

### React

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

export function JustifyHorizontalCenterIcon(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.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "justify-horizontal-center" (line-round), MIT. https://gentleface.com/icons/justify-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="M7.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "justify-horizontal-center" (line-round), MIT. https://gentleface.com/icons/justify-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="M7.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "justify-horizontal-center" (line-round), MIT. https://gentleface.com/icons/justify-horizontal-center. Takes the text color. */
.icon-justify-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='M7.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z'/%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.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z'/%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.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct JustifyHorizontalCenterIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.144, y: 1.144))
        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: 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: 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.closeSubpath()
        p.move(to: CGPoint(x: 4.707, y: 3.293))
        p.addCurve(to: CGPoint(x: 5, y: 4), control1: CGPoint(x: 4.902, y: 3.488), control2: CGPoint(x: 5, y: 3.724))
        p.addLine(to: CGPoint(x: 5, y: 12))
        p.addCurve(to: CGPoint(x: 4.707, y: 12.707), control1: CGPoint(x: 5, y: 12.276), control2: CGPoint(x: 4.902, y: 12.512))
        p.addCurve(to: CGPoint(x: 4, y: 13), control1: CGPoint(x: 4.512, y: 12.902), control2: CGPoint(x: 4.276, y: 13))
        p.addLine(to: CGPoint(x: 2, y: 13))
        p.addCurve(to: CGPoint(x: 1.293, y: 12.707), control1: CGPoint(x: 1.724, y: 13), control2: CGPoint(x: 1.488, y: 12.902))
        p.addCurve(to: CGPoint(x: 1, y: 12), control1: CGPoint(x: 1.098, y: 12.512), control2: CGPoint(x: 1, y: 12.276))
        p.addLine(to: CGPoint(x: 1, y: 4))
        p.addCurve(to: CGPoint(x: 1.293, y: 3.293), control1: CGPoint(x: 1, y: 3.724), control2: CGPoint(x: 1.098, y: 3.488))
        p.addCurve(to: CGPoint(x: 2, y: 3), control1: CGPoint(x: 1.488, y: 3.098), control2: CGPoint(x: 1.724, y: 3))
        p.addLine(to: CGPoint(x: 4, y: 3))
        p.addCurve(to: CGPoint(x: 4.707, y: 3.293), control1: CGPoint(x: 4.276, y: 3), control2: CGPoint(x: 4.512, y: 3.098))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2, y: 12))
        p.addLine(to: CGPoint(x: 4, y: 12))
        p.addLine(to: CGPoint(x: 4, y: 4))
        p.addLine(to: CGPoint(x: 2, y: 4))
        p.addLine(to: CGPoint(x: 2, y: 12))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.707, y: 10.707))
        p.addCurve(to: CGPoint(x: 13, y: 11), control1: CGPoint(x: 13.512, y: 10.902), control2: CGPoint(x: 13.276, y: 11))
        p.addLine(to: CGPoint(x: 11, y: 11))
        p.addCurve(to: CGPoint(x: 10.293, y: 10.707), control1: CGPoint(x: 10.724, y: 11), control2: CGPoint(x: 10.488, y: 10.902))
        p.addCurve(to: CGPoint(x: 10, y: 10), control1: CGPoint(x: 10.098, y: 10.512), control2: CGPoint(x: 10, y: 10.276))
        p.addLine(to: CGPoint(x: 10, y: 6))
        p.addCurve(to: CGPoint(x: 10.293, y: 5.293), control1: CGPoint(x: 10, y: 5.724), control2: CGPoint(x: 10.098, y: 5.488))
        p.addCurve(to: CGPoint(x: 11, y: 5), control1: CGPoint(x: 10.488, y: 5.098), control2: CGPoint(x: 10.724, y: 5))
        p.addLine(to: CGPoint(x: 13, y: 5))
        p.addCurve(to: CGPoint(x: 13.707, y: 5.293), control1: CGPoint(x: 13.276, y: 5), control2: CGPoint(x: 13.512, y: 5.098))
        p.addCurve(to: CGPoint(x: 14, y: 6), control1: CGPoint(x: 13.902, y: 5.488), control2: CGPoint(x: 14, y: 5.724))
        p.addLine(to: CGPoint(x: 14, y: 10))
        p.addCurve(to: CGPoint(x: 13.707, y: 10.707), control1: CGPoint(x: 14, y: 10.276), control2: CGPoint(x: 13.902, y: 10.512))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13, y: 10))
        p.addLine(to: CGPoint(x: 13, y: 6))
        p.addLine(to: CGPoint(x: 11, y: 6))
        p.addLine(to: CGPoint(x: 11, y: 10))
        p.addLine(to: CGPoint(x: 13, y: 10))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "justify-horizontal-center" (line-round), MIT. https://gentleface.com/icons/justify-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 JustifyHorizontalCenterIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "justify-horizontal-center", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_justify_horizontal_center.xml · Gentleface "justify-horizontal-center" (line-round), MIT. https://gentleface.com/icons/justify-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="M7.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 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 1.5C7 1.359 7.048 1.241 7.144 1.144ZM4.707 3.293C4.902 3.488 5 3.724 5 4L5 12C5 12.276 4.902 12.512 4.707 12.707C4.512 12.902 4.276 13 4 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 4C1 3.724 1.098 3.488 1.293 3.293C1.488 3.098 1.724 3 2 3L4 3C4.276 3 4.512 3.098 4.707 3.293ZM2 12L4 12L4 4L2 4L2 12ZM13.707 10.707C13.512 10.902 13.276 11 13 11L11 11C10.724 11 10.488 10.902 10.293 10.707C10.098 10.512 10 10.276 10 10L10 6C10 5.724 10.098 5.488 10.293 5.293C10.488 5.098 10.724 5 11 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 10C14 10.276 13.902 10.512 13.707 10.707ZM13 10L13 6L11 6L11 10L13 10Z"/>
</vector>
```

### Flutter

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

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

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

class _JustifyHorizontalCenterIconPainter extends CustomPainter {
  _JustifyHorizontalCenterIconPainter(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.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, 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, 1.5)
      ..cubicTo(7, 1.359, 7.048, 1.241, 7.144, 1.144)
      ..close()
      ..moveTo(4.707, 3.293)
      ..cubicTo(4.902, 3.488, 5, 3.724, 5, 4)
      ..lineTo(5, 12)
      ..cubicTo(5, 12.276, 4.902, 12.512, 4.707, 12.707)
      ..cubicTo(4.512, 12.902, 4.276, 13, 4, 13)
      ..lineTo(2, 13)
      ..cubicTo(1.724, 13, 1.488, 12.902, 1.293, 12.707)
      ..cubicTo(1.098, 12.512, 1, 12.276, 1, 12)
      ..lineTo(1, 4)
      ..cubicTo(1, 3.724, 1.098, 3.488, 1.293, 3.293)
      ..cubicTo(1.488, 3.098, 1.724, 3, 2, 3)
      ..lineTo(4, 3)
      ..cubicTo(4.276, 3, 4.512, 3.098, 4.707, 3.293)
      ..close()
      ..moveTo(2, 12)
      ..lineTo(4, 12)
      ..lineTo(4, 4)
      ..lineTo(2, 4)
      ..lineTo(2, 12)
      ..close()
      ..moveTo(13.707, 10.707)
      ..cubicTo(13.512, 10.902, 13.276, 11, 13, 11)
      ..lineTo(11, 11)
      ..cubicTo(10.724, 11, 10.488, 10.902, 10.293, 10.707)
      ..cubicTo(10.098, 10.512, 10, 10.276, 10, 10)
      ..lineTo(10, 6)
      ..cubicTo(10, 5.724, 10.098, 5.488, 10.293, 5.293)
      ..cubicTo(10.488, 5.098, 10.724, 5, 11, 5)
      ..lineTo(13, 5)
      ..cubicTo(13.276, 5, 13.512, 5.098, 13.707, 5.293)
      ..cubicTo(13.902, 5.488, 14, 5.724, 14, 6)
      ..lineTo(14, 10)
      ..cubicTo(14, 10.276, 13.902, 10.512, 13.707, 10.707)
      ..close()
      ..moveTo(13, 10)
      ..lineTo(13, 6)
      ..lineTo(11, 6)
      ..lineTo(11, 10)
      ..lineTo(13, 10)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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