# type icon

Type. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/type

- Category: Text & formatting
- Use it for: text, type, typography, text tool
- Tags: text, type, font, typography, typeface, letter, t
- Family: bold, case-lower, case-sensitive, heading, heading-1, heading-2, heading-3, italic, letter-spacing, pilcrow, spell-check, strikethrough, subscript, superscript, text-color, text-size, text-size-decrease, text-size-increase, type-plus, type-x, underline
- Component name: TypeIcon
- Added: 2026-10-14

## Alternatives

- `case-sensitive`: a font picker (font)
- `type-plus`: add a text box (add-text)
- `cursor-text`: the I-beam text cursor (text-cursor)

## Also fits

- font file: text, fonts or typography without a file (typography)
- font: text in general or the text tool (text)
- heading: plain text (text)

## Not for

- text cursor (use `cursor-text`): type is the text tool or text in general (text)

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

The SVG of every style: https://gentleface.com/icons/type.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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z"/></svg>
```

### React

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

export function TypeIcon(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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "type" (line-round), MIT. https://gentleface.com/icons/type -->
<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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "type" (line-round), MIT. https://gentleface.com/icons/type -->
<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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "type" (line-round), MIT. https://gentleface.com/icons/type. Takes the text color. */
.icon-type {
  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='M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z'/%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='M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z'/%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='M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct TypeIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.144, y: 2.144))
        p.addCurve(to: CGPoint(x: 2.5, y: 2), control1: CGPoint(x: 2.241, y: 2.048), control2: CGPoint(x: 2.359, y: 2))
        p.addLine(to: CGPoint(x: 12.5, y: 2))
        p.addCurve(to: CGPoint(x: 12.856, y: 2.144), control1: CGPoint(x: 12.641, y: 2), control2: CGPoint(x: 12.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 13, y: 2.5), control1: CGPoint(x: 12.952, y: 2.241), control2: CGPoint(x: 13, y: 2.359))
        p.addLine(to: CGPoint(x: 13, y: 4.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 4.856), control1: CGPoint(x: 13, y: 4.641), control2: CGPoint(x: 12.952, y: 4.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 5), control1: CGPoint(x: 12.759, y: 4.952), control2: CGPoint(x: 12.641, y: 5))
        p.addCurve(to: CGPoint(x: 12.144, y: 4.856), control1: CGPoint(x: 12.359, y: 5), control2: CGPoint(x: 12.241, y: 4.952))
        p.addCurve(to: CGPoint(x: 12, y: 4.5), control1: CGPoint(x: 12.048, y: 4.759), control2: CGPoint(x: 12, y: 4.641))
        p.addLine(to: CGPoint(x: 12, y: 3))
        p.addLine(to: CGPoint(x: 8, y: 3))
        p.addLine(to: CGPoint(x: 8, y: 12))
        p.addLine(to: CGPoint(x: 9.5, y: 12))
        p.addCurve(to: CGPoint(x: 9.856, y: 12.144), control1: CGPoint(x: 9.641, y: 12), control2: CGPoint(x: 9.759, y: 12.048))
        p.addCurve(to: CGPoint(x: 10, y: 12.5), control1: CGPoint(x: 9.952, y: 12.241), control2: CGPoint(x: 10, y: 12.359))
        p.addCurve(to: CGPoint(x: 9.856, y: 12.856), control1: CGPoint(x: 10, y: 12.641), control2: CGPoint(x: 9.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 9.5, y: 13), control1: CGPoint(x: 9.759, y: 12.952), control2: CGPoint(x: 9.641, y: 13))
        p.addLine(to: CGPoint(x: 5.5, y: 13))
        p.addCurve(to: CGPoint(x: 5.144, y: 12.856), control1: CGPoint(x: 5.359, y: 13), control2: CGPoint(x: 5.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 5, y: 12.5), control1: CGPoint(x: 5.048, y: 12.759), control2: CGPoint(x: 5, y: 12.641))
        p.addCurve(to: CGPoint(x: 5.144, y: 12.144), control1: CGPoint(x: 5, y: 12.359), control2: CGPoint(x: 5.048, y: 12.241))
        p.addCurve(to: CGPoint(x: 5.5, y: 12), control1: CGPoint(x: 5.241, y: 12.048), control2: CGPoint(x: 5.359, y: 12))
        p.addLine(to: CGPoint(x: 7, y: 12))
        p.addLine(to: CGPoint(x: 7, y: 3))
        p.addLine(to: CGPoint(x: 3, y: 3))
        p.addLine(to: CGPoint(x: 3, y: 4.5))
        p.addCurve(to: CGPoint(x: 2.856, y: 4.856), control1: CGPoint(x: 3, y: 4.641), control2: CGPoint(x: 2.952, y: 4.759))
        p.addCurve(to: CGPoint(x: 2.5, y: 5), control1: CGPoint(x: 2.759, y: 4.952), control2: CGPoint(x: 2.641, y: 5))
        p.addCurve(to: CGPoint(x: 2.144, y: 4.856), control1: CGPoint(x: 2.359, y: 5), control2: CGPoint(x: 2.241, y: 4.952))
        p.addCurve(to: CGPoint(x: 2, y: 4.5), control1: CGPoint(x: 2.048, y: 4.759), control2: CGPoint(x: 2, y: 4.641))
        p.addLine(to: CGPoint(x: 2, y: 2.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 2.144), control1: CGPoint(x: 2, y: 2.359), control2: CGPoint(x: 2.048, y: 2.241))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "type" (line-round), MIT. https://gentleface.com/icons/type
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 TypeIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "type", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_type.xml · Gentleface "type" (line-round), MIT. https://gentleface.com/icons/type -->
<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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 12L9.5 12C9.641 12 9.759 12.048 9.856 12.144C9.952 12.241 10 12.359 10 12.5C10 12.641 9.952 12.759 9.856 12.856C9.759 12.952 9.641 13 9.5 13L5.5 13C5.359 13 5.241 12.952 5.144 12.856C5.048 12.759 5 12.641 5 12.5C5 12.359 5.048 12.241 5.144 12.144C5.241 12.048 5.359 12 5.5 12L7 12L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.144, 2.144)
      ..cubicTo(2.241, 2.048, 2.359, 2, 2.5, 2)
      ..lineTo(12.5, 2)
      ..cubicTo(12.641, 2, 12.759, 2.048, 12.856, 2.144)
      ..cubicTo(12.952, 2.241, 13, 2.359, 13, 2.5)
      ..lineTo(13, 4.5)
      ..cubicTo(13, 4.641, 12.952, 4.759, 12.856, 4.856)
      ..cubicTo(12.759, 4.952, 12.641, 5, 12.5, 5)
      ..cubicTo(12.359, 5, 12.241, 4.952, 12.144, 4.856)
      ..cubicTo(12.048, 4.759, 12, 4.641, 12, 4.5)
      ..lineTo(12, 3)
      ..lineTo(8, 3)
      ..lineTo(8, 12)
      ..lineTo(9.5, 12)
      ..cubicTo(9.641, 12, 9.759, 12.048, 9.856, 12.144)
      ..cubicTo(9.952, 12.241, 10, 12.359, 10, 12.5)
      ..cubicTo(10, 12.641, 9.952, 12.759, 9.856, 12.856)
      ..cubicTo(9.759, 12.952, 9.641, 13, 9.5, 13)
      ..lineTo(5.5, 13)
      ..cubicTo(5.359, 13, 5.241, 12.952, 5.144, 12.856)
      ..cubicTo(5.048, 12.759, 5, 12.641, 5, 12.5)
      ..cubicTo(5, 12.359, 5.048, 12.241, 5.144, 12.144)
      ..cubicTo(5.241, 12.048, 5.359, 12, 5.5, 12)
      ..lineTo(7, 12)
      ..lineTo(7, 3)
      ..lineTo(3, 3)
      ..lineTo(3, 4.5)
      ..cubicTo(3, 4.641, 2.952, 4.759, 2.856, 4.856)
      ..cubicTo(2.759, 4.952, 2.641, 5, 2.5, 5)
      ..cubicTo(2.359, 5, 2.241, 4.952, 2.144, 4.856)
      ..cubicTo(2.048, 4.759, 2, 4.641, 2, 4.5)
      ..lineTo(2, 2.5)
      ..cubicTo(2, 2.359, 2.048, 2.241, 2.144, 2.144)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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