# forward icon

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

- Category: Communication
- Use it for: forward message, mail forward, pass on, forward email
- Tags: forward, mail, message, pass-on, send-on, arrow
- Family: reply, reply-all
- Component name: ForwardIcon
- Added: 2026-10-14

## Alternatives

- `share`: share to another app or person
- `phone-forwarded`: call forwarding

## Don't confuse with

- `skip-forward`: skip-forward is media playback

## Also fits

- forward: forward a message or an email to someone (forward-message)

## Not for

- forwarded call (use `phone-forwarded`): forward is for messages and mail

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

The SVG of every style: https://gentleface.com/icons/forward.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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z"/></svg>
```

### React

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

export function ForwardIcon(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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "forward" (line-round), MIT. https://gentleface.com/icons/forward -->
<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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "forward" (line-round), MIT. https://gentleface.com/icons/forward -->
<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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "forward" (line-round), MIT. https://gentleface.com/icons/forward. Takes the text color. */
.icon-forward {
  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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z'/%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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z'/%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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct ForwardIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.854, y: 5.146))
        p.addCurve(to: CGPoint(x: 13.003, y: 5.5), control1: CGPoint(x: 12.953, y: 5.246), control2: CGPoint(x: 13.003, y: 5.364))
        p.addCurve(to: CGPoint(x: 12.854, y: 5.854), control1: CGPoint(x: 13.003, y: 5.636), control2: CGPoint(x: 12.953, y: 5.754))
        p.addLine(to: CGPoint(x: 9.854, y: 8.854))
        p.addCurve(to: CGPoint(x: 9.5, y: 9.003), control1: CGPoint(x: 9.754, y: 8.953), control2: CGPoint(x: 9.636, y: 9.003))
        p.addCurve(to: CGPoint(x: 9.146, y: 8.854), control1: CGPoint(x: 9.364, y: 9.003), control2: CGPoint(x: 9.246, y: 8.953))
        p.addCurve(to: CGPoint(x: 8.997, y: 8.5), control1: CGPoint(x: 9.047, y: 8.754), control2: CGPoint(x: 8.997, y: 8.636))
        p.addCurve(to: CGPoint(x: 9.146, y: 8.146), control1: CGPoint(x: 8.997, y: 8.364), control2: CGPoint(x: 9.047, y: 8.246))
        p.addLine(to: CGPoint(x: 11.293, y: 6))
        p.addLine(to: CGPoint(x: 6.5, y: 6))
        p.addCurve(to: CGPoint(x: 5.212, y: 6.246), control1: CGPoint(x: 6.055, y: 6), control2: CGPoint(x: 5.625, y: 6.082))
        p.addCurve(to: CGPoint(x: 4.025, y: 7.025), control1: CGPoint(x: 4.762, y: 6.424), control2: CGPoint(x: 4.367, y: 6.683))
        p.addCurve(to: CGPoint(x: 3.246, y: 8.212), control1: CGPoint(x: 3.683, y: 7.367), control2: CGPoint(x: 3.424, y: 7.762))
        p.addCurve(to: CGPoint(x: 3, y: 9.5), control1: CGPoint(x: 3.082, y: 8.625), control2: CGPoint(x: 3, y: 9.055))
        p.addLine(to: CGPoint(x: 3, y: 12.5))
        p.addCurve(to: CGPoint(x: 2.856, y: 12.856), control1: CGPoint(x: 3, y: 12.641), control2: CGPoint(x: 2.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 2.5, y: 13), control1: CGPoint(x: 2.759, y: 12.952), control2: CGPoint(x: 2.641, y: 13))
        p.addCurve(to: CGPoint(x: 2.144, y: 12.856), control1: CGPoint(x: 2.359, y: 13), control2: CGPoint(x: 2.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 2, y: 12.5), control1: CGPoint(x: 2.048, y: 12.759), control2: CGPoint(x: 2, y: 12.641))
        p.addLine(to: CGPoint(x: 2, y: 9.5))
        p.addCurve(to: CGPoint(x: 2.316, y: 7.844), control1: CGPoint(x: 2, y: 8.928), control2: CGPoint(x: 2.105, y: 8.376))
        p.addCurve(to: CGPoint(x: 3.318, y: 6.318), control1: CGPoint(x: 2.545, y: 7.266), control2: CGPoint(x: 2.879, y: 6.757))
        p.addCurve(to: CGPoint(x: 4.844, y: 5.316), control1: CGPoint(x: 3.757, y: 5.879), control2: CGPoint(x: 4.266, y: 5.545))
        p.addCurve(to: CGPoint(x: 6.5, y: 5), control1: CGPoint(x: 5.376, y: 5.105), control2: CGPoint(x: 5.928, y: 5))
        p.addLine(to: CGPoint(x: 11.293, y: 5))
        p.addLine(to: CGPoint(x: 9.146, y: 2.854))
        p.addCurve(to: CGPoint(x: 9, y: 2.5), control1: CGPoint(x: 9.049, y: 2.756), control2: CGPoint(x: 9, y: 2.638))
        p.addCurve(to: CGPoint(x: 9.146, y: 2.146), control1: CGPoint(x: 9, y: 2.362), control2: CGPoint(x: 9.049, y: 2.244))
        p.addCurve(to: CGPoint(x: 9.5, y: 1.997), control1: CGPoint(x: 9.246, y: 2.047), control2: CGPoint(x: 9.364, y: 1.997))
        p.addCurve(to: CGPoint(x: 9.854, y: 2.146), control1: CGPoint(x: 9.636, y: 1.997), control2: CGPoint(x: 9.754, y: 2.047))
        p.addLine(to: CGPoint(x: 12.854, y: 5.146))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "forward" (line-round), MIT. https://gentleface.com/icons/forward
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 ForwardIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "forward", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_forward.xml · Gentleface "forward" (line-round), MIT. https://gentleface.com/icons/forward -->
<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.854 5.146C12.953 5.246 13.003 5.364 13.003 5.5C13.003 5.636 12.953 5.754 12.854 5.854L9.854 8.854C9.754 8.953 9.636 9.003 9.5 9.003C9.364 9.003 9.246 8.953 9.146 8.854C9.047 8.754 8.997 8.636 8.997 8.5C8.997 8.364 9.047 8.246 9.146 8.146L11.293 6L6.5 6C6.055 6 5.625 6.082 5.212 6.246C4.762 6.424 4.367 6.683 4.025 7.025C3.683 7.367 3.424 7.762 3.246 8.212C3.082 8.625 3 9.055 3 9.5L3 12.5C3 12.641 2.952 12.759 2.856 12.856C2.759 12.952 2.641 13 2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 9.5C2 8.928 2.105 8.376 2.316 7.844C2.545 7.266 2.879 6.757 3.318 6.318C3.757 5.879 4.266 5.545 4.844 5.316C5.376 5.105 5.928 5 6.5 5L11.293 5L9.146 2.854C9.049 2.756 9 2.638 9 2.5C9 2.362 9.049 2.244 9.146 2.146C9.246 2.047 9.364 1.997 9.5 1.997C9.636 1.997 9.754 2.047 9.854 2.146L12.854 5.146Z"/>
</vector>
```

### Flutter

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

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

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

class _ForwardIconPainter extends CustomPainter {
  _ForwardIconPainter(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.854, 5.146)
      ..cubicTo(12.953, 5.246, 13.003, 5.364, 13.003, 5.5)
      ..cubicTo(13.003, 5.636, 12.953, 5.754, 12.854, 5.854)
      ..lineTo(9.854, 8.854)
      ..cubicTo(9.754, 8.953, 9.636, 9.003, 9.5, 9.003)
      ..cubicTo(9.364, 9.003, 9.246, 8.953, 9.146, 8.854)
      ..cubicTo(9.047, 8.754, 8.997, 8.636, 8.997, 8.5)
      ..cubicTo(8.997, 8.364, 9.047, 8.246, 9.146, 8.146)
      ..lineTo(11.293, 6)
      ..lineTo(6.5, 6)
      ..cubicTo(6.055, 6, 5.625, 6.082, 5.212, 6.246)
      ..cubicTo(4.762, 6.424, 4.367, 6.683, 4.025, 7.025)
      ..cubicTo(3.683, 7.367, 3.424, 7.762, 3.246, 8.212)
      ..cubicTo(3.082, 8.625, 3, 9.055, 3, 9.5)
      ..lineTo(3, 12.5)
      ..cubicTo(3, 12.641, 2.952, 12.759, 2.856, 12.856)
      ..cubicTo(2.759, 12.952, 2.641, 13, 2.5, 13)
      ..cubicTo(2.359, 13, 2.241, 12.952, 2.144, 12.856)
      ..cubicTo(2.048, 12.759, 2, 12.641, 2, 12.5)
      ..lineTo(2, 9.5)
      ..cubicTo(2, 8.928, 2.105, 8.376, 2.316, 7.844)
      ..cubicTo(2.545, 7.266, 2.879, 6.757, 3.318, 6.318)
      ..cubicTo(3.757, 5.879, 4.266, 5.545, 4.844, 5.316)
      ..cubicTo(5.376, 5.105, 5.928, 5, 6.5, 5)
      ..lineTo(11.293, 5)
      ..lineTo(9.146, 2.854)
      ..cubicTo(9.049, 2.756, 9, 2.638, 9, 2.5)
      ..cubicTo(9, 2.362, 9.049, 2.244, 9.146, 2.146)
      ..cubicTo(9.246, 2.047, 9.364, 1.997, 9.5, 1.997)
      ..cubicTo(9.636, 1.997, 9.754, 2.047, 9.854, 2.146)
      ..lineTo(12.854, 5.146)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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