# checkbox-indeterminate icon

Checkbox indeterminate. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/checkbox-indeterminate

- Category: Layout & interface
- Use it for: indeterminate, partially selected, partial selection, mixed state
- Tags: checkbox, indeterminate, partial, partially-selected, mixed, some-selected, select-all, form, multi-select
- Family: checkbox, checkbox-off
- Component name: CheckboxIndeterminateIcon
- Added: 2026-10-15

## Don't confuse with

- `minus`: minus means subtract; the indeterminate dash sits inside the box

## Also fits

- checkbox: a partly selected group (mixed state)

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

The SVG of every style: https://gentleface.com/icons/checkbox-indeterminate.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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z"/></svg>
```

### React

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

export function CheckboxIndeterminateIcon(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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "checkbox-indeterminate" (line-round), MIT. https://gentleface.com/icons/checkbox-indeterminate -->
<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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "checkbox-indeterminate" (line-round), MIT. https://gentleface.com/icons/checkbox-indeterminate -->
<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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "checkbox-indeterminate" (line-round), MIT. https://gentleface.com/icons/checkbox-indeterminate. Takes the text color. */
.icon-checkbox-indeterminate {
  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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z'/%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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z'/%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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct CheckboxIndeterminateIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12, y: 2))
        p.addCurve(to: CGPoint(x: 12.736, y: 2.14), control1: CGPoint(x: 12.254, y: 2), control2: CGPoint(x: 12.5, y: 2.047))
        p.addCurve(to: CGPoint(x: 13.414, y: 2.586), control1: CGPoint(x: 12.993, y: 2.242), control2: CGPoint(x: 13.219, y: 2.391))
        p.addCurve(to: CGPoint(x: 13.86, y: 3.264), control1: CGPoint(x: 13.609, y: 2.781), control2: CGPoint(x: 13.758, y: 3.007))
        p.addCurve(to: CGPoint(x: 14, y: 4), control1: CGPoint(x: 13.953, y: 3.5), control2: CGPoint(x: 14, y: 3.746))
        p.addLine(to: CGPoint(x: 14, y: 12))
        p.addCurve(to: CGPoint(x: 13.86, y: 12.736), control1: CGPoint(x: 14, y: 12.254), control2: CGPoint(x: 13.953, y: 12.5))
        p.addCurve(to: CGPoint(x: 13.414, y: 13.414), control1: CGPoint(x: 13.758, y: 12.993), control2: CGPoint(x: 13.609, y: 13.219))
        p.addCurve(to: CGPoint(x: 12.736, y: 13.86), control1: CGPoint(x: 13.219, y: 13.609), control2: CGPoint(x: 12.993, y: 13.758))
        p.addCurve(to: CGPoint(x: 12, y: 14), control1: CGPoint(x: 12.5, y: 13.953), control2: CGPoint(x: 12.254, y: 14))
        p.addLine(to: CGPoint(x: 4, y: 14))
        p.addCurve(to: CGPoint(x: 3.264, y: 13.86), control1: CGPoint(x: 3.746, y: 14), control2: CGPoint(x: 3.5, y: 13.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 13.414), control1: CGPoint(x: 3.007, y: 13.758), control2: CGPoint(x: 2.781, y: 13.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 12.736), control1: CGPoint(x: 2.391, y: 13.219), control2: CGPoint(x: 2.242, y: 12.993))
        p.addCurve(to: CGPoint(x: 2, y: 12), control1: CGPoint(x: 2.047, y: 12.5), control2: CGPoint(x: 2, y: 12.254))
        p.addLine(to: CGPoint(x: 2, y: 4))
        p.addCurve(to: CGPoint(x: 2.14, y: 3.264), control1: CGPoint(x: 2, y: 3.746), control2: CGPoint(x: 2.047, y: 3.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 2.586), control1: CGPoint(x: 2.242, y: 3.007), control2: CGPoint(x: 2.391, y: 2.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 2.14), control1: CGPoint(x: 2.781, y: 2.391), control2: CGPoint(x: 3.007, y: 2.242))
        p.addCurve(to: CGPoint(x: 4, y: 2), control1: CGPoint(x: 3.5, y: 2.047), control2: CGPoint(x: 3.746, y: 2))
        p.addLine(to: CGPoint(x: 12, y: 2))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.5, y: 7))
        p.addCurve(to: CGPoint(x: 5, y: 7.5), control1: CGPoint(x: 5.224, y: 7), control2: CGPoint(x: 5, y: 7.224))
        p.addCurve(to: CGPoint(x: 5.5, y: 8), control1: CGPoint(x: 5, y: 7.776), control2: CGPoint(x: 5.224, y: 8))
        p.addLine(to: CGPoint(x: 10.5, y: 8))
        p.addCurve(to: CGPoint(x: 11, y: 7.5), control1: CGPoint(x: 10.776, y: 8), control2: CGPoint(x: 11, y: 7.776))
        p.addCurve(to: CGPoint(x: 10.5, y: 7), control1: CGPoint(x: 11, y: 7.224), control2: CGPoint(x: 10.776, y: 7))
        p.addLine(to: CGPoint(x: 5.5, y: 7))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "checkbox-indeterminate" (line-round), MIT. https://gentleface.com/icons/checkbox-indeterminate
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 CheckboxIndeterminateIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "checkbox-indeterminate", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_checkbox_indeterminate.xml · Gentleface "checkbox-indeterminate" (line-round), MIT. https://gentleface.com/icons/checkbox-indeterminate -->
<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 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2ZM5.5 7C5.224 7 5 7.224 5 7.5C5 7.776 5.224 8 5.5 8L10.5 8C10.776 8 11 7.776 11 7.5C11 7.224 10.776 7 10.5 7L5.5 7Z"/>
</vector>
```

### Flutter

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

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

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

class _CheckboxIndeterminateIconPainter extends CustomPainter {
  _CheckboxIndeterminateIconPainter(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, 2)
      ..cubicTo(12.254, 2, 12.5, 2.047, 12.736, 2.14)
      ..cubicTo(12.993, 2.242, 13.219, 2.391, 13.414, 2.586)
      ..cubicTo(13.609, 2.781, 13.758, 3.007, 13.86, 3.264)
      ..cubicTo(13.953, 3.5, 14, 3.746, 14, 4)
      ..lineTo(14, 12)
      ..cubicTo(14, 12.254, 13.953, 12.5, 13.86, 12.736)
      ..cubicTo(13.758, 12.993, 13.609, 13.219, 13.414, 13.414)
      ..cubicTo(13.219, 13.609, 12.993, 13.758, 12.736, 13.86)
      ..cubicTo(12.5, 13.953, 12.254, 14, 12, 14)
      ..lineTo(4, 14)
      ..cubicTo(3.746, 14, 3.5, 13.953, 3.264, 13.86)
      ..cubicTo(3.007, 13.758, 2.781, 13.609, 2.586, 13.414)
      ..cubicTo(2.391, 13.219, 2.242, 12.993, 2.14, 12.736)
      ..cubicTo(2.047, 12.5, 2, 12.254, 2, 12)
      ..lineTo(2, 4)
      ..cubicTo(2, 3.746, 2.047, 3.5, 2.14, 3.264)
      ..cubicTo(2.242, 3.007, 2.391, 2.781, 2.586, 2.586)
      ..cubicTo(2.781, 2.391, 3.007, 2.242, 3.264, 2.14)
      ..cubicTo(3.5, 2.047, 3.746, 2, 4, 2)
      ..lineTo(12, 2)
      ..close()
      ..moveTo(5.5, 7)
      ..cubicTo(5.224, 7, 5, 7.224, 5, 7.5)
      ..cubicTo(5, 7.776, 5.224, 8, 5.5, 8)
      ..lineTo(10.5, 8)
      ..cubicTo(10.776, 8, 11, 7.776, 11, 7.5)
      ..cubicTo(11, 7.224, 10.776, 7, 10.5, 7)
      ..lineTo(5.5, 7)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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