# beaker icon

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

- Category: Science & education
- Use it for: beaker, chemical, solution, chemicals, reagent, measuring beaker
- Tags: beaker, chemical, solution, liquid, measuring, graduated, lab, chemistry, science
- Component name: BeakerIcon
- Added: 2026-10-14
- Changed: 2026-10-15 (16 px redrawn)

## Alternatives

- `flask`: an experiment or a lab
- `test-tube`: a lab test or a sample
- `lightbulb`: a solution as an answer or an idea

## Also fits

- lab: a chemical or a solution
- lab test: a chemical

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

The SVG of every style: https://gentleface.com/icons/beaker.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="M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z"/></svg>
```

### React

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

export function BeakerIcon(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="M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "beaker" (line-round), MIT. https://gentleface.com/icons/beaker -->
<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="M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "beaker" (line-round), MIT. https://gentleface.com/icons/beaker -->
<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="M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "beaker" (line-round), MIT. https://gentleface.com/icons/beaker. Takes the text color. */
.icon-beaker {
  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='M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z'/%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='M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z'/%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='M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct BeakerIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 13, y: 3.707))
        p.addLine(to: CGPoint(x: 13, y: 14.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 14.856), control1: CGPoint(x: 13, y: 14.641), control2: CGPoint(x: 12.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 15), control1: CGPoint(x: 12.759, y: 14.952), control2: CGPoint(x: 12.641, y: 15))
        p.addLine(to: CGPoint(x: 2.5, y: 15))
        p.addCurve(to: CGPoint(x: 2.144, y: 14.856), control1: CGPoint(x: 2.359, y: 15), control2: CGPoint(x: 2.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 2, y: 14.5), control1: CGPoint(x: 2.048, y: 14.759), control2: CGPoint(x: 2, y: 14.641))
        p.addLine(to: CGPoint(x: 2, y: 1.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 1.144), control1: CGPoint(x: 2, y: 1.359), control2: CGPoint(x: 2.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 2.5, y: 1), control1: CGPoint(x: 2.241, y: 1.048), control2: CGPoint(x: 2.359, y: 1))
        p.addLine(to: CGPoint(x: 14.5, y: 1))
        p.addCurve(to: CGPoint(x: 14.856, y: 1.144), control1: CGPoint(x: 14.641, y: 1), control2: CGPoint(x: 14.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 15, y: 1.5), control1: CGPoint(x: 14.952, y: 1.241), control2: CGPoint(x: 15, y: 1.359))
        p.addCurve(to: CGPoint(x: 14.854, y: 1.854), control1: CGPoint(x: 15, y: 1.638), control2: CGPoint(x: 14.951, y: 1.756))
        p.addLine(to: CGPoint(x: 13, y: 3.707))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.5, y: 4))
        p.addCurve(to: CGPoint(x: 4.856, y: 4.144), control1: CGPoint(x: 4.641, y: 4), control2: CGPoint(x: 4.759, y: 4.048))
        p.addCurve(to: CGPoint(x: 5, y: 4.5), control1: CGPoint(x: 4.952, y: 4.241), control2: CGPoint(x: 5, y: 4.359))
        p.addCurve(to: CGPoint(x: 4.856, y: 4.856), control1: CGPoint(x: 5, y: 4.641), control2: CGPoint(x: 4.952, y: 4.759))
        p.addCurve(to: CGPoint(x: 4.5, y: 5), control1: CGPoint(x: 4.759, y: 4.952), control2: CGPoint(x: 4.641, y: 5))
        p.addLine(to: CGPoint(x: 3, y: 5))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addLine(to: CGPoint(x: 4.5, y: 7))
        p.addCurve(to: CGPoint(x: 4.856, y: 7.144), control1: CGPoint(x: 4.641, y: 7), control2: CGPoint(x: 4.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 5, y: 7.5), control1: CGPoint(x: 4.952, y: 7.241), control2: CGPoint(x: 5, y: 7.359))
        p.addCurve(to: CGPoint(x: 4.856, y: 7.856), control1: CGPoint(x: 5, y: 7.641), control2: CGPoint(x: 4.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 4.5, y: 8), control1: CGPoint(x: 4.759, y: 7.952), control2: CGPoint(x: 4.641, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addLine(to: CGPoint(x: 12, y: 11))
        p.addLine(to: CGPoint(x: 12, y: 3.5))
        p.addCurve(to: CGPoint(x: 12.146, y: 3.146), control1: CGPoint(x: 12, y: 3.362), control2: CGPoint(x: 12.049, y: 3.244))
        p.addLine(to: CGPoint(x: 13.293, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 2))
        p.addLine(to: CGPoint(x: 3, y: 4))
        p.addLine(to: CGPoint(x: 4.5, y: 4))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "beaker" (line-round), MIT. https://gentleface.com/icons/beaker
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 BeakerIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "beaker", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_beaker.xml · Gentleface "beaker" (line-round), MIT. https://gentleface.com/icons/beaker -->
<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="M13 3.707L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5C15 1.638 14.951 1.756 14.854 1.854L13 3.707ZM4.5 4C4.641 4 4.759 4.048 4.856 4.144C4.952 4.241 5 4.359 5 4.5C5 4.641 4.952 4.759 4.856 4.856C4.759 4.952 4.641 5 4.5 5L3 5L3 7L4.5 7C4.641 7 4.759 7.048 4.856 7.144C4.952 7.241 5 7.359 5 7.5C5 7.641 4.952 7.759 4.856 7.856C4.759 7.952 4.641 8 4.5 8L3 8L3 11L12 11L12 3.5C12 3.362 12.049 3.244 12.146 3.146L13.293 2L3 2L3 4L4.5 4Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(13, 3.707)
      ..lineTo(13, 14.5)
      ..cubicTo(13, 14.641, 12.952, 14.759, 12.856, 14.856)
      ..cubicTo(12.759, 14.952, 12.641, 15, 12.5, 15)
      ..lineTo(2.5, 15)
      ..cubicTo(2.359, 15, 2.241, 14.952, 2.144, 14.856)
      ..cubicTo(2.048, 14.759, 2, 14.641, 2, 14.5)
      ..lineTo(2, 1.5)
      ..cubicTo(2, 1.359, 2.048, 1.241, 2.144, 1.144)
      ..cubicTo(2.241, 1.048, 2.359, 1, 2.5, 1)
      ..lineTo(14.5, 1)
      ..cubicTo(14.641, 1, 14.759, 1.048, 14.856, 1.144)
      ..cubicTo(14.952, 1.241, 15, 1.359, 15, 1.5)
      ..cubicTo(15, 1.638, 14.951, 1.756, 14.854, 1.854)
      ..lineTo(13, 3.707)
      ..close()
      ..moveTo(4.5, 4)
      ..cubicTo(4.641, 4, 4.759, 4.048, 4.856, 4.144)
      ..cubicTo(4.952, 4.241, 5, 4.359, 5, 4.5)
      ..cubicTo(5, 4.641, 4.952, 4.759, 4.856, 4.856)
      ..cubicTo(4.759, 4.952, 4.641, 5, 4.5, 5)
      ..lineTo(3, 5)
      ..lineTo(3, 7)
      ..lineTo(4.5, 7)
      ..cubicTo(4.641, 7, 4.759, 7.048, 4.856, 7.144)
      ..cubicTo(4.952, 7.241, 5, 7.359, 5, 7.5)
      ..cubicTo(5, 7.641, 4.952, 7.759, 4.856, 7.856)
      ..cubicTo(4.759, 7.952, 4.641, 8, 4.5, 8)
      ..lineTo(3, 8)
      ..lineTo(3, 11)
      ..lineTo(12, 11)
      ..lineTo(12, 3.5)
      ..cubicTo(12, 3.362, 12.049, 3.244, 12.146, 3.146)
      ..lineTo(13.293, 2)
      ..lineTo(3, 2)
      ..lineTo(3, 4)
      ..lineTo(4.5, 4)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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