# gantt-chart icon

Gantt chart. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/gantt-chart

- Category: Charts & data
- Use it for: gantt chart, project schedule, project timeline, roadmap
- Tags: gantt, chart, schedule, roadmap, project, plan, tasks, timeline
- Family: activity, activity-search, area-chart, area-chart-stacked, bar-chart, bar-chart-clock, bar-chart-grouped, bar-chart-grouped-filled, bar-chart-horizontal, bar-chart-off, bar-chart-pencil, bar-chart-plus, bar-chart-search, bar-chart-sparkle, bar-chart-stacked, bubble-chart, candlestick-chart, cohort-chart, combo-chart, donut-chart, funnel-chart, heatmap, histogram, line-chart, pie-chart, radar-chart, scatter-chart, treemap, trending-down, trending-up, trending-up-down, venn-diagram, waterfall-chart
- Component name: GanttChartIcon
- Added: 2026-10-15

## Alternatives

- `timeline`: a chronological list of events
- `calendar-range`: a date range (date-range)

## Don't confuse with

- `trace`: spans hanging from a tree line are a distributed trace

## Not for

- horizontal bar chart (use `bar-chart-horizontal`): offset bars on a time axis mean a project schedule
- trace (use `trace`): bars on a time axis without connectors mean a project schedule

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

The SVG of every style: https://gentleface.com/icons/gantt-chart.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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z"/></svg>
```

### React

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

export function GanttChartIcon(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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "gantt-chart" (line-round), MIT. https://gentleface.com/icons/gantt-chart -->
<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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "gantt-chart" (line-round), MIT. https://gentleface.com/icons/gantt-chart -->
<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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "gantt-chart" (line-round), MIT. https://gentleface.com/icons/gantt-chart. Takes the text color. */
.icon-gantt-chart {
  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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z'/%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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z'/%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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct GanttChartIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.856, y: 1.144))
        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: 4.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 4.856), control1: CGPoint(x: 8, y: 4.641), control2: CGPoint(x: 7.952, y: 4.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 5), control1: CGPoint(x: 7.759, y: 4.952), control2: CGPoint(x: 7.641, y: 5))
        p.addLine(to: CGPoint(x: 1.5, y: 5))
        p.addCurve(to: CGPoint(x: 1.144, y: 4.856), control1: CGPoint(x: 1.359, y: 5), control2: CGPoint(x: 1.241, y: 4.952))
        p.addCurve(to: CGPoint(x: 1, y: 4.5), control1: CGPoint(x: 1.048, y: 4.759), control2: CGPoint(x: 1, y: 4.641))
        p.addLine(to: CGPoint(x: 1, y: 1.5))
        p.addCurve(to: CGPoint(x: 1.144, y: 1.144), control1: CGPoint(x: 1, y: 1.359), control2: CGPoint(x: 1.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 1), control1: CGPoint(x: 1.241, y: 1.048), control2: CGPoint(x: 1.359, y: 1))
        p.addLine(to: CGPoint(x: 7.5, 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.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 2))
        p.addLine(to: CGPoint(x: 2, y: 2))
        p.addLine(to: CGPoint(x: 2, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 2))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.144, y: 6.144))
        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.addLine(to: CGPoint(x: 12, y: 9.5))
        p.addCurve(to: CGPoint(x: 11.856, y: 9.856), control1: CGPoint(x: 12, y: 9.641), control2: CGPoint(x: 11.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 11.5, y: 10), control1: CGPoint(x: 11.759, y: 9.952), control2: CGPoint(x: 11.641, y: 10))
        p.addLine(to: CGPoint(x: 4.5, y: 10))
        p.addCurve(to: CGPoint(x: 4.144, y: 9.856), control1: CGPoint(x: 4.359, y: 10), control2: CGPoint(x: 4.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 4, y: 9.5), control1: CGPoint(x: 4.048, y: 9.759), control2: CGPoint(x: 4, y: 9.641))
        p.addLine(to: CGPoint(x: 4, y: 6.5))
        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.closeSubpath()
        p.move(to: CGPoint(x: 11, y: 7))
        p.addLine(to: CGPoint(x: 5, y: 7))
        p.addLine(to: CGPoint(x: 5, y: 9))
        p.addLine(to: CGPoint(x: 11, y: 9))
        p.addLine(to: CGPoint(x: 11, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 15, y: 11.5))
        p.addLine(to: CGPoint(x: 15, y: 14.5))
        p.addCurve(to: CGPoint(x: 14.856, y: 14.856), control1: CGPoint(x: 15, y: 14.641), control2: CGPoint(x: 14.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 15), control1: CGPoint(x: 14.759, y: 14.952), control2: CGPoint(x: 14.641, y: 15))
        p.addLine(to: CGPoint(x: 8.5, y: 15))
        p.addCurve(to: CGPoint(x: 8.144, y: 14.856), control1: CGPoint(x: 8.359, y: 15), control2: CGPoint(x: 8.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 8, y: 14.5), control1: CGPoint(x: 8.048, y: 14.759), control2: CGPoint(x: 8, y: 14.641))
        p.addLine(to: CGPoint(x: 8, y: 11.5))
        p.addCurve(to: CGPoint(x: 8.144, y: 11.144), control1: CGPoint(x: 8, y: 11.359), control2: CGPoint(x: 8.048, y: 11.241))
        p.addCurve(to: CGPoint(x: 8.5, y: 11), control1: CGPoint(x: 8.241, y: 11.048), control2: CGPoint(x: 8.359, y: 11))
        p.addLine(to: CGPoint(x: 14.5, y: 11))
        p.addCurve(to: CGPoint(x: 14.856, y: 11.144), control1: CGPoint(x: 14.641, y: 11), control2: CGPoint(x: 14.759, y: 11.048))
        p.addCurve(to: CGPoint(x: 15, y: 11.5), control1: CGPoint(x: 14.952, y: 11.241), control2: CGPoint(x: 15, y: 11.359))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 14))
        p.addLine(to: CGPoint(x: 14, y: 14))
        p.addLine(to: CGPoint(x: 14, y: 12))
        p.addLine(to: CGPoint(x: 9, y: 12))
        p.addLine(to: CGPoint(x: 9, y: 14))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "gantt-chart" (line-round), MIT. https://gentleface.com/icons/gantt-chart
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 GanttChartIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "gantt-chart", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_gantt_chart.xml · Gentleface "gantt-chart" (line-round), MIT. https://gentleface.com/icons/gantt-chart -->
<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.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L1.5 5C1.359 5 1.241 4.952 1.144 4.856C1.048 4.759 1 4.641 1 4.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1L7.5 1C7.641 1 7.759 1.048 7.856 1.144ZM7 2L2 2L2 4L7 4L7 2ZM4.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.5L12 9.5C12 9.641 11.952 9.759 11.856 9.856C11.759 9.952 11.641 10 11.5 10L4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 6.5C4 6.359 4.048 6.241 4.144 6.144ZM11 7L5 7L5 9L11 9L11 7ZM15 11.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15L8.5 15C8.359 15 8.241 14.952 8.144 14.856C8.048 14.759 8 14.641 8 14.5L8 11.5C8 11.359 8.048 11.241 8.144 11.144C8.241 11.048 8.359 11 8.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5ZM9 14L14 14L14 12L9 12L9 14Z"/>
</vector>
```

### Flutter

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

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

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

class _GanttChartIconPainter extends CustomPainter {
  _GanttChartIconPainter(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.856, 1.144)
      ..cubicTo(7.952, 1.241, 8, 1.359, 8, 1.5)
      ..lineTo(8, 4.5)
      ..cubicTo(8, 4.641, 7.952, 4.759, 7.856, 4.856)
      ..cubicTo(7.759, 4.952, 7.641, 5, 7.5, 5)
      ..lineTo(1.5, 5)
      ..cubicTo(1.359, 5, 1.241, 4.952, 1.144, 4.856)
      ..cubicTo(1.048, 4.759, 1, 4.641, 1, 4.5)
      ..lineTo(1, 1.5)
      ..cubicTo(1, 1.359, 1.048, 1.241, 1.144, 1.144)
      ..cubicTo(1.241, 1.048, 1.359, 1, 1.5, 1)
      ..lineTo(7.5, 1)
      ..cubicTo(7.641, 1, 7.759, 1.048, 7.856, 1.144)
      ..close()
      ..moveTo(7, 2)
      ..lineTo(2, 2)
      ..lineTo(2, 4)
      ..lineTo(7, 4)
      ..lineTo(7, 2)
      ..close()
      ..moveTo(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)
      ..lineTo(12, 9.5)
      ..cubicTo(12, 9.641, 11.952, 9.759, 11.856, 9.856)
      ..cubicTo(11.759, 9.952, 11.641, 10, 11.5, 10)
      ..lineTo(4.5, 10)
      ..cubicTo(4.359, 10, 4.241, 9.952, 4.144, 9.856)
      ..cubicTo(4.048, 9.759, 4, 9.641, 4, 9.5)
      ..lineTo(4, 6.5)
      ..cubicTo(4, 6.359, 4.048, 6.241, 4.144, 6.144)
      ..close()
      ..moveTo(11, 7)
      ..lineTo(5, 7)
      ..lineTo(5, 9)
      ..lineTo(11, 9)
      ..lineTo(11, 7)
      ..close()
      ..moveTo(15, 11.5)
      ..lineTo(15, 14.5)
      ..cubicTo(15, 14.641, 14.952, 14.759, 14.856, 14.856)
      ..cubicTo(14.759, 14.952, 14.641, 15, 14.5, 15)
      ..lineTo(8.5, 15)
      ..cubicTo(8.359, 15, 8.241, 14.952, 8.144, 14.856)
      ..cubicTo(8.048, 14.759, 8, 14.641, 8, 14.5)
      ..lineTo(8, 11.5)
      ..cubicTo(8, 11.359, 8.048, 11.241, 8.144, 11.144)
      ..cubicTo(8.241, 11.048, 8.359, 11, 8.5, 11)
      ..lineTo(14.5, 11)
      ..cubicTo(14.641, 11, 14.759, 11.048, 14.856, 11.144)
      ..cubicTo(14.952, 11.241, 15, 11.359, 15, 11.5)
      ..close()
      ..moveTo(9, 14)
      ..lineTo(14, 14)
      ..lineTo(14, 12)
      ..lineTo(9, 12)
      ..lineTo(9, 14)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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