# chevrons-up icon

Chevrons up. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/chevrons-up

- Category: Arrows
- Use it for: page up, highest priority, pgup, page up key, priority highest
- Tags: chevrons, double, caret, up, page-up, priority, highest, scroll
- Family: chevron-down, chevron-down-triangle, chevron-left, chevron-left-to-line, chevron-left-triangle, chevron-right, chevron-right-to-line, chevron-right-triangle, chevron-up, chevron-up-triangle, chevrons-down, chevrons-down-up, chevrons-left, chevrons-right, chevrons-up-down
- Component name: ChevronsUpIcon
- Added: 2026-10-15

## Alternatives

- `arrow-up`: one step or one item up (up)
- `arrow-up-to-line`: jump to the very top (jump-to-top)
- `chevron-up`: one step higher (high) when a product shows a five-level priority scale

## Also fits

- scroll to top: scroll one page up (page-up)
- jump to top: one page up (page-up)

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

The SVG of every style: https://gentleface.com/icons/chevrons-up.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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z"/></svg>
```

### React

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

export function ChevronsUpIcon(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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "chevrons-up" (line-round), MIT. https://gentleface.com/icons/chevrons-up -->
<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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "chevrons-up" (line-round), MIT. https://gentleface.com/icons/chevrons-up -->
<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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "chevrons-up" (line-round), MIT. https://gentleface.com/icons/chevrons-up. Takes the text color. */
.icon-chevrons-up {
  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='M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.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='M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.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='M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct ChevronsUpIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.5, y: 3))
        p.addCurve(to: CGPoint(x: 7.854, y: 3.146), control1: CGPoint(x: 7.638, y: 3), control2: CGPoint(x: 7.756, y: 3.049))
        p.addLine(to: CGPoint(x: 11.854, y: 7.146))
        p.addCurve(to: CGPoint(x: 12, y: 7.5), control1: CGPoint(x: 11.951, y: 7.244), control2: CGPoint(x: 12, y: 7.362))
        p.addCurve(to: CGPoint(x: 11.854, y: 7.854), control1: CGPoint(x: 12, y: 7.638), control2: CGPoint(x: 11.951, y: 7.756))
        p.addCurve(to: CGPoint(x: 11.5, y: 8.003), control1: CGPoint(x: 11.754, y: 7.953), control2: CGPoint(x: 11.636, y: 8.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 7.854), control1: CGPoint(x: 11.364, y: 8.003), control2: CGPoint(x: 11.246, y: 7.953))
        p.addLine(to: CGPoint(x: 7.5, y: 4.207))
        p.addLine(to: CGPoint(x: 3.854, y: 7.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 8), control1: CGPoint(x: 3.756, y: 7.951), control2: CGPoint(x: 3.638, y: 8))
        p.addCurve(to: CGPoint(x: 3.146, y: 7.854), control1: CGPoint(x: 3.362, y: 8), control2: CGPoint(x: 3.244, y: 7.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 7.5), control1: CGPoint(x: 3.047, y: 7.754), control2: CGPoint(x: 2.997, y: 7.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 7.146), control1: CGPoint(x: 2.997, y: 7.364), control2: CGPoint(x: 3.047, y: 7.246))
        p.addLine(to: CGPoint(x: 7.146, y: 3.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 3), control1: CGPoint(x: 7.244, y: 3.049), control2: CGPoint(x: 7.362, y: 3))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.854, y: 11.146))
        p.addCurve(to: CGPoint(x: 12.003, y: 11.5), control1: CGPoint(x: 11.953, y: 11.246), control2: CGPoint(x: 12.003, y: 11.364))
        p.addCurve(to: CGPoint(x: 11.854, y: 11.854), control1: CGPoint(x: 12.003, y: 11.636), control2: CGPoint(x: 11.953, y: 11.754))
        p.addCurve(to: CGPoint(x: 11.5, y: 12.003), control1: CGPoint(x: 11.754, y: 11.953), control2: CGPoint(x: 11.636, y: 12.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 11.854), control1: CGPoint(x: 11.364, y: 12.003), control2: CGPoint(x: 11.246, y: 11.953))
        p.addLine(to: CGPoint(x: 7.5, y: 8.207))
        p.addLine(to: CGPoint(x: 3.854, y: 11.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 12), control1: CGPoint(x: 3.756, y: 11.951), control2: CGPoint(x: 3.638, y: 12))
        p.addCurve(to: CGPoint(x: 3.146, y: 11.854), control1: CGPoint(x: 3.362, y: 12), control2: CGPoint(x: 3.244, y: 11.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 11.5), control1: CGPoint(x: 3.047, y: 11.754), control2: CGPoint(x: 2.997, y: 11.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 11.146), control1: CGPoint(x: 2.997, y: 11.364), control2: CGPoint(x: 3.047, y: 11.246))
        p.addLine(to: CGPoint(x: 7.146, y: 7.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 6.997), control1: CGPoint(x: 7.246, y: 7.047), control2: CGPoint(x: 7.364, y: 6.997))
        p.addCurve(to: CGPoint(x: 7.854, y: 7.146), control1: CGPoint(x: 7.636, y: 6.997), control2: CGPoint(x: 7.754, y: 7.047))
        p.addLine(to: CGPoint(x: 11.854, y: 11.146))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "chevrons-up" (line-round), MIT. https://gentleface.com/icons/chevrons-up
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 ChevronsUpIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "chevrons-up", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_chevrons_up.xml · Gentleface "chevrons-up" (line-round), MIT. https://gentleface.com/icons/chevrons-up -->
<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="M7.5 3C7.638 3 7.756 3.049 7.854 3.146L11.854 7.146C11.951 7.244 12 7.362 12 7.5C12 7.638 11.951 7.756 11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854L7.5 4.207L3.854 7.854C3.756 7.951 3.638 8 3.5 8C3.362 8 3.244 7.951 3.146 7.854C3.047 7.754 2.997 7.636 2.997 7.5C2.997 7.364 3.047 7.246 3.146 7.146L7.146 3.146C7.244 3.049 7.362 3 7.5 3ZM11.854 11.146C11.953 11.246 12.003 11.364 12.003 11.5C12.003 11.636 11.953 11.754 11.854 11.854C11.754 11.953 11.636 12.003 11.5 12.003C11.364 12.003 11.246 11.953 11.146 11.854L7.5 8.207L3.854 11.854C3.756 11.951 3.638 12 3.5 12C3.362 12 3.244 11.951 3.146 11.854C3.047 11.754 2.997 11.636 2.997 11.5C2.997 11.364 3.047 11.246 3.146 11.146L7.146 7.146C7.246 7.047 7.364 6.997 7.5 6.997C7.636 6.997 7.754 7.047 7.854 7.146L11.854 11.146Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(7.5, 3)
      ..cubicTo(7.638, 3, 7.756, 3.049, 7.854, 3.146)
      ..lineTo(11.854, 7.146)
      ..cubicTo(11.951, 7.244, 12, 7.362, 12, 7.5)
      ..cubicTo(12, 7.638, 11.951, 7.756, 11.854, 7.854)
      ..cubicTo(11.754, 7.953, 11.636, 8.003, 11.5, 8.003)
      ..cubicTo(11.364, 8.003, 11.246, 7.953, 11.146, 7.854)
      ..lineTo(7.5, 4.207)
      ..lineTo(3.854, 7.854)
      ..cubicTo(3.756, 7.951, 3.638, 8, 3.5, 8)
      ..cubicTo(3.362, 8, 3.244, 7.951, 3.146, 7.854)
      ..cubicTo(3.047, 7.754, 2.997, 7.636, 2.997, 7.5)
      ..cubicTo(2.997, 7.364, 3.047, 7.246, 3.146, 7.146)
      ..lineTo(7.146, 3.146)
      ..cubicTo(7.244, 3.049, 7.362, 3, 7.5, 3)
      ..close()
      ..moveTo(11.854, 11.146)
      ..cubicTo(11.953, 11.246, 12.003, 11.364, 12.003, 11.5)
      ..cubicTo(12.003, 11.636, 11.953, 11.754, 11.854, 11.854)
      ..cubicTo(11.754, 11.953, 11.636, 12.003, 11.5, 12.003)
      ..cubicTo(11.364, 12.003, 11.246, 11.953, 11.146, 11.854)
      ..lineTo(7.5, 8.207)
      ..lineTo(3.854, 11.854)
      ..cubicTo(3.756, 11.951, 3.638, 12, 3.5, 12)
      ..cubicTo(3.362, 12, 3.244, 11.951, 3.146, 11.854)
      ..cubicTo(3.047, 11.754, 2.997, 11.636, 2.997, 11.5)
      ..cubicTo(2.997, 11.364, 3.047, 11.246, 3.146, 11.146)
      ..lineTo(7.146, 7.146)
      ..cubicTo(7.246, 7.047, 7.364, 6.997, 7.5, 6.997)
      ..cubicTo(7.636, 6.997, 7.754, 7.047, 7.854, 7.146)
      ..lineTo(11.854, 11.146)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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