# wave-square icon

Wave square. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/wave-square

- Category: Audio & video
- Use it for: square wave, pulse wave, digital signal
- Tags: square-wave, wave, waveform, signal, pulse, oscillator, synth, digital
- Component name: WaveSquareIcon
- Added: 2026-10-15

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

The SVG of every style: https://gentleface.com/icons/wave-square.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="M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z"/></svg>
```

### React

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

export function WaveSquareIcon(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="M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "wave-square" (line-round), MIT. https://gentleface.com/icons/wave-square -->
<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="M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "wave-square" (line-round), MIT. https://gentleface.com/icons/wave-square -->
<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="M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "wave-square" (line-round), MIT. https://gentleface.com/icons/wave-square. Takes the text color. */
.icon-wave-square {
  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='M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z'/%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='M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z'/%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='M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct WaveSquareIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 3, y: 2.5))
        p.addCurve(to: CGPoint(x: 3.144, y: 2.144), control1: CGPoint(x: 3, y: 2.359), control2: CGPoint(x: 3.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 3.5, y: 2), control1: CGPoint(x: 3.241, y: 2.048), control2: CGPoint(x: 3.359, y: 2))
        p.addLine(to: CGPoint(x: 7.5, y: 2))
        p.addCurve(to: CGPoint(x: 7.856, y: 2.144), control1: CGPoint(x: 7.641, y: 2), control2: CGPoint(x: 7.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 8, y: 2.5), control1: CGPoint(x: 7.952, y: 2.241), control2: CGPoint(x: 8, y: 2.359))
        p.addLine(to: CGPoint(x: 8, y: 12))
        p.addLine(to: CGPoint(x: 11, y: 12))
        p.addLine(to: CGPoint(x: 11, y: 7.5))
        p.addCurve(to: CGPoint(x: 11.144, y: 7.144), control1: CGPoint(x: 11, y: 7.359), control2: CGPoint(x: 11.048, y: 7.241))
        p.addCurve(to: CGPoint(x: 11.5, y: 7), control1: CGPoint(x: 11.241, y: 7.048), control2: CGPoint(x: 11.359, y: 7))
        p.addLine(to: CGPoint(x: 13.5, y: 7))
        p.addCurve(to: CGPoint(x: 13.856, y: 7.144), control1: CGPoint(x: 13.641, y: 7), control2: CGPoint(x: 13.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 14, y: 7.5), control1: CGPoint(x: 13.952, y: 7.241), control2: CGPoint(x: 14, y: 7.359))
        p.addCurve(to: CGPoint(x: 13.856, y: 7.856), control1: CGPoint(x: 14, y: 7.641), control2: CGPoint(x: 13.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 8), control1: CGPoint(x: 13.759, y: 7.952), control2: CGPoint(x: 13.641, y: 8))
        p.addLine(to: CGPoint(x: 12, y: 8))
        p.addLine(to: CGPoint(x: 12, y: 12.5))
        p.addCurve(to: CGPoint(x: 11.856, y: 12.856), control1: CGPoint(x: 12, y: 12.641), control2: CGPoint(x: 11.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 11.5, y: 13), control1: CGPoint(x: 11.759, y: 12.952), control2: CGPoint(x: 11.641, y: 13))
        p.addLine(to: CGPoint(x: 7.5, y: 13))
        p.addCurve(to: CGPoint(x: 7.144, y: 12.856), control1: CGPoint(x: 7.359, y: 13), control2: CGPoint(x: 7.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 7, y: 12.5), control1: CGPoint(x: 7.048, y: 12.759), control2: CGPoint(x: 7, y: 12.641))
        p.addLine(to: CGPoint(x: 7, y: 3))
        p.addLine(to: CGPoint(x: 4, y: 3))
        p.addLine(to: CGPoint(x: 4, y: 7.5))
        p.addCurve(to: CGPoint(x: 3.856, y: 7.856), control1: CGPoint(x: 4, y: 7.641), control2: CGPoint(x: 3.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 3.5, y: 8), control1: CGPoint(x: 3.759, y: 7.952), control2: CGPoint(x: 3.641, y: 8))
        p.addLine(to: CGPoint(x: 1.5, y: 8))
        p.addCurve(to: CGPoint(x: 1.144, y: 7.856), control1: CGPoint(x: 1.359, y: 8), control2: CGPoint(x: 1.241, y: 7.952))
        p.addCurve(to: CGPoint(x: 1, y: 7.5), control1: CGPoint(x: 1.048, y: 7.759), control2: CGPoint(x: 1, y: 7.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 7.144), control1: CGPoint(x: 1, y: 7.359), control2: CGPoint(x: 1.048, y: 7.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 7), control1: CGPoint(x: 1.241, y: 7.048), control2: CGPoint(x: 1.359, y: 7))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addLine(to: CGPoint(x: 3, y: 2.5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "wave-square" (line-round), MIT. https://gentleface.com/icons/wave-square
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 WaveSquareIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "wave-square", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_wave_square.xml · Gentleface "wave-square" (line-round), MIT. https://gentleface.com/icons/wave-square -->
<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="M3 2.5C3 2.359 3.048 2.241 3.144 2.144C3.241 2.048 3.359 2 3.5 2L7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12L11 12L11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L12 8L12 12.5C12 12.641 11.952 12.759 11.856 12.856C11.759 12.952 11.641 13 11.5 13L7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3L4 3L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3 7L3 2.5Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(3, 2.5)
      ..cubicTo(3, 2.359, 3.048, 2.241, 3.144, 2.144)
      ..cubicTo(3.241, 2.048, 3.359, 2, 3.5, 2)
      ..lineTo(7.5, 2)
      ..cubicTo(7.641, 2, 7.759, 2.048, 7.856, 2.144)
      ..cubicTo(7.952, 2.241, 8, 2.359, 8, 2.5)
      ..lineTo(8, 12)
      ..lineTo(11, 12)
      ..lineTo(11, 7.5)
      ..cubicTo(11, 7.359, 11.048, 7.241, 11.144, 7.144)
      ..cubicTo(11.241, 7.048, 11.359, 7, 11.5, 7)
      ..lineTo(13.5, 7)
      ..cubicTo(13.641, 7, 13.759, 7.048, 13.856, 7.144)
      ..cubicTo(13.952, 7.241, 14, 7.359, 14, 7.5)
      ..cubicTo(14, 7.641, 13.952, 7.759, 13.856, 7.856)
      ..cubicTo(13.759, 7.952, 13.641, 8, 13.5, 8)
      ..lineTo(12, 8)
      ..lineTo(12, 12.5)
      ..cubicTo(12, 12.641, 11.952, 12.759, 11.856, 12.856)
      ..cubicTo(11.759, 12.952, 11.641, 13, 11.5, 13)
      ..lineTo(7.5, 13)
      ..cubicTo(7.359, 13, 7.241, 12.952, 7.144, 12.856)
      ..cubicTo(7.048, 12.759, 7, 12.641, 7, 12.5)
      ..lineTo(7, 3)
      ..lineTo(4, 3)
      ..lineTo(4, 7.5)
      ..cubicTo(4, 7.641, 3.952, 7.759, 3.856, 7.856)
      ..cubicTo(3.759, 7.952, 3.641, 8, 3.5, 8)
      ..lineTo(1.5, 8)
      ..cubicTo(1.359, 8, 1.241, 7.952, 1.144, 7.856)
      ..cubicTo(1.048, 7.759, 1, 7.641, 1, 7.5)
      ..cubicTo(1, 7.359, 1.048, 7.241, 1.144, 7.144)
      ..cubicTo(1.241, 7.048, 1.359, 7, 1.5, 7)
      ..lineTo(3, 7)
      ..lineTo(3, 2.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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