# up-to-top icon

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

- Category: Arrows
- Use it for: up to top
- Tags: up, top, top-of-page, page-up, back-to-top, scroll-to-top, chevron, bar
- Family: chevron-down, chevron-down-circle, chevron-down-square, chevron-down-triangle, chevron-left, chevron-left-circle, chevron-left-square, chevron-left-to-line, chevron-left-triangle, chevron-right, chevron-right-circle, chevron-right-square, chevron-right-to-line, chevron-right-triangle, chevron-up, chevron-up-circle, chevron-up-square, chevron-up-triangle, chevrons-down, chevrons-down-up, chevrons-left, chevrons-right, chevrons-up, chevrons-up-down
- Component name: UpToTopIcon
- Added: 2026-11-12

## Files

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too.

- line-round: https://gentleface.com/svg/line-round/16/up-to-top.svg · PNG https://gentleface.com/png/line-round/16/up-to-top.png · https://gentleface.com/png/line-round/32/up-to-top.png · https://gentleface.com/png/line-round/48/up-to-top.png
- line-soft: https://gentleface.com/svg/line-soft/16/up-to-top.svg · PNG https://gentleface.com/png/line-soft/16/up-to-top.png · https://gentleface.com/png/line-soft/32/up-to-top.png · https://gentleface.com/png/line-soft/48/up-to-top.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/up-to-top.svg · PNG https://gentleface.com/png/line-sharp/16/up-to-top.png · https://gentleface.com/png/line-sharp/32/up-to-top.png · https://gentleface.com/png/line-sharp/48/up-to-top.png
- solid-round: https://gentleface.com/svg/solid-round/16/up-to-top.svg · PNG https://gentleface.com/png/solid-round/16/up-to-top.png · https://gentleface.com/png/solid-round/32/up-to-top.png · https://gentleface.com/png/solid-round/48/up-to-top.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/up-to-top.svg · PNG https://gentleface.com/png/solid-soft/16/up-to-top.png · https://gentleface.com/png/solid-soft/32/up-to-top.png · https://gentleface.com/png/solid-soft/48/up-to-top.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/up-to-top.svg · PNG https://gentleface.com/png/solid-sharp/16/up-to-top.png · https://gentleface.com/png/solid-sharp/32/up-to-top.png · https://gentleface.com/png/solid-sharp/48/up-to-top.png

The SVG of every style: https://gentleface.com/icons/up-to-top.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="M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z"/></svg>
```

### React

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

export function UpToTopIcon(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="M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "up-to-top" (line-round), MIT. https://gentleface.com/icons/up-to-top -->
<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="M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "up-to-top" (line-round), MIT. https://gentleface.com/icons/up-to-top -->
<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="M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "up-to-top" (line-round), MIT. https://gentleface.com/icons/up-to-top. Takes the text color. */
.icon-up-to-top {
  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='M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z'/%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='M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z'/%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='M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct UpToTopIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.144, y: 1.856))
        p.addCurve(to: CGPoint(x: 2, y: 1.5), control1: CGPoint(x: 2.048, y: 1.759), control2: CGPoint(x: 2, y: 1.641))
        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: 12.5, y: 1))
        p.addCurve(to: CGPoint(x: 12.856, y: 1.144), control1: CGPoint(x: 12.641, y: 1), control2: CGPoint(x: 12.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 13, y: 1.5), control1: CGPoint(x: 12.952, y: 1.241), control2: CGPoint(x: 13, y: 1.359))
        p.addCurve(to: CGPoint(x: 12.856, y: 1.856), control1: CGPoint(x: 13, y: 1.641), control2: CGPoint(x: 12.952, y: 1.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 2), control1: CGPoint(x: 12.759, y: 1.952), control2: CGPoint(x: 12.641, y: 2))
        p.addLine(to: CGPoint(x: 2.5, y: 2))
        p.addCurve(to: CGPoint(x: 2.144, y: 1.856), control1: CGPoint(x: 2.359, y: 2), control2: CGPoint(x: 2.241, y: 1.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.854, y: 8.146))
        p.addCurve(to: CGPoint(x: 12.003, y: 8.5), control1: CGPoint(x: 11.953, y: 8.246), control2: CGPoint(x: 12.003, y: 8.364))
        p.addCurve(to: CGPoint(x: 11.854, y: 8.854), control1: CGPoint(x: 12.003, y: 8.636), control2: CGPoint(x: 11.953, y: 8.754))
        p.addCurve(to: CGPoint(x: 11.5, y: 9.003), control1: CGPoint(x: 11.754, y: 8.953), control2: CGPoint(x: 11.636, y: 9.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 8.854), control1: CGPoint(x: 11.364, y: 9.003), control2: CGPoint(x: 11.246, y: 8.953))
        p.addLine(to: CGPoint(x: 7.5, y: 5.207))
        p.addLine(to: CGPoint(x: 3.854, y: 8.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 9), control1: CGPoint(x: 3.756, y: 8.951), control2: CGPoint(x: 3.638, y: 9))
        p.addCurve(to: CGPoint(x: 3.146, y: 8.854), control1: CGPoint(x: 3.362, y: 9), control2: CGPoint(x: 3.244, y: 8.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 8.5), control1: CGPoint(x: 3.047, y: 8.754), control2: CGPoint(x: 2.997, y: 8.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 8.146), control1: CGPoint(x: 2.997, y: 8.364), control2: CGPoint(x: 3.047, y: 8.246))
        p.addLine(to: CGPoint(x: 7.146, y: 4.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 4), control1: CGPoint(x: 7.244, y: 4.049), control2: CGPoint(x: 7.362, y: 4))
        p.addCurve(to: CGPoint(x: 7.854, y: 4.146), control1: CGPoint(x: 7.638, y: 4), control2: CGPoint(x: 7.756, y: 4.049))
        p.addLine(to: CGPoint(x: 11.854, y: 8.146))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.5, y: 7.997))
        p.addCurve(to: CGPoint(x: 7.854, y: 8.146), control1: CGPoint(x: 7.636, y: 7.997), control2: CGPoint(x: 7.754, y: 8.047))
        p.addLine(to: CGPoint(x: 11.854, y: 12.146))
        p.addCurve(to: CGPoint(x: 12.003, y: 12.5), control1: CGPoint(x: 11.953, y: 12.246), control2: CGPoint(x: 12.003, y: 12.364))
        p.addCurve(to: CGPoint(x: 11.854, y: 12.854), control1: CGPoint(x: 12.003, y: 12.636), control2: CGPoint(x: 11.953, y: 12.754))
        p.addCurve(to: CGPoint(x: 11.5, y: 13.003), control1: CGPoint(x: 11.754, y: 12.953), control2: CGPoint(x: 11.636, y: 13.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 12.854), control1: CGPoint(x: 11.364, y: 13.003), control2: CGPoint(x: 11.246, y: 12.953))
        p.addLine(to: CGPoint(x: 7.5, y: 9.207))
        p.addLine(to: CGPoint(x: 3.854, y: 12.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 13), control1: CGPoint(x: 3.756, y: 12.951), control2: CGPoint(x: 3.638, y: 13))
        p.addCurve(to: CGPoint(x: 3.146, y: 12.854), control1: CGPoint(x: 3.362, y: 13), control2: CGPoint(x: 3.244, y: 12.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 12.5), control1: CGPoint(x: 3.047, y: 12.754), control2: CGPoint(x: 2.997, y: 12.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 12.146), control1: CGPoint(x: 2.997, y: 12.364), control2: CGPoint(x: 3.047, y: 12.246))
        p.addLine(to: CGPoint(x: 7.146, y: 8.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 7.997), control1: CGPoint(x: 7.246, y: 8.047), control2: CGPoint(x: 7.364, y: 7.997))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "up-to-top" (line-round), MIT. https://gentleface.com/icons/up-to-top
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 UpToTopIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "up-to-top", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_up_to_top.xml · Gentleface "up-to-top" (line-round), MIT. https://gentleface.com/icons/up-to-top -->
<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="M2.144 1.856C2.048 1.759 2 1.641 2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5C13 1.641 12.952 1.759 12.856 1.856C12.759 1.952 12.641 2 12.5 2L2.5 2C2.359 2 2.241 1.952 2.144 1.856ZM11.854 8.146C11.953 8.246 12.003 8.364 12.003 8.5C12.003 8.636 11.953 8.754 11.854 8.854C11.754 8.953 11.636 9.003 11.5 9.003C11.364 9.003 11.246 8.953 11.146 8.854L7.5 5.207L3.854 8.854C3.756 8.951 3.638 9 3.5 9C3.362 9 3.244 8.951 3.146 8.854C3.047 8.754 2.997 8.636 2.997 8.5C2.997 8.364 3.047 8.246 3.146 8.146L7.146 4.146C7.244 4.049 7.362 4 7.5 4C7.638 4 7.756 4.049 7.854 4.146L11.854 8.146ZM7.5 7.997C7.636 7.997 7.754 8.047 7.854 8.146L11.854 12.146C11.953 12.246 12.003 12.364 12.003 12.5C12.003 12.636 11.953 12.754 11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L7.5 9.207L3.854 12.854C3.756 12.951 3.638 13 3.5 13C3.362 13 3.244 12.951 3.146 12.854C3.047 12.754 2.997 12.636 2.997 12.5C2.997 12.364 3.047 12.246 3.146 12.146L7.146 8.146C7.246 8.047 7.364 7.997 7.5 7.997Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.144, 1.856)
      ..cubicTo(2.048, 1.759, 2, 1.641, 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(12.5, 1)
      ..cubicTo(12.641, 1, 12.759, 1.048, 12.856, 1.144)
      ..cubicTo(12.952, 1.241, 13, 1.359, 13, 1.5)
      ..cubicTo(13, 1.641, 12.952, 1.759, 12.856, 1.856)
      ..cubicTo(12.759, 1.952, 12.641, 2, 12.5, 2)
      ..lineTo(2.5, 2)
      ..cubicTo(2.359, 2, 2.241, 1.952, 2.144, 1.856)
      ..close()
      ..moveTo(11.854, 8.146)
      ..cubicTo(11.953, 8.246, 12.003, 8.364, 12.003, 8.5)
      ..cubicTo(12.003, 8.636, 11.953, 8.754, 11.854, 8.854)
      ..cubicTo(11.754, 8.953, 11.636, 9.003, 11.5, 9.003)
      ..cubicTo(11.364, 9.003, 11.246, 8.953, 11.146, 8.854)
      ..lineTo(7.5, 5.207)
      ..lineTo(3.854, 8.854)
      ..cubicTo(3.756, 8.951, 3.638, 9, 3.5, 9)
      ..cubicTo(3.362, 9, 3.244, 8.951, 3.146, 8.854)
      ..cubicTo(3.047, 8.754, 2.997, 8.636, 2.997, 8.5)
      ..cubicTo(2.997, 8.364, 3.047, 8.246, 3.146, 8.146)
      ..lineTo(7.146, 4.146)
      ..cubicTo(7.244, 4.049, 7.362, 4, 7.5, 4)
      ..cubicTo(7.638, 4, 7.756, 4.049, 7.854, 4.146)
      ..lineTo(11.854, 8.146)
      ..close()
      ..moveTo(7.5, 7.997)
      ..cubicTo(7.636, 7.997, 7.754, 8.047, 7.854, 8.146)
      ..lineTo(11.854, 12.146)
      ..cubicTo(11.953, 12.246, 12.003, 12.364, 12.003, 12.5)
      ..cubicTo(12.003, 12.636, 11.953, 12.754, 11.854, 12.854)
      ..cubicTo(11.754, 12.953, 11.636, 13.003, 11.5, 13.003)
      ..cubicTo(11.364, 13.003, 11.246, 12.953, 11.146, 12.854)
      ..lineTo(7.5, 9.207)
      ..lineTo(3.854, 12.854)
      ..cubicTo(3.756, 12.951, 3.638, 13, 3.5, 13)
      ..cubicTo(3.362, 13, 3.244, 12.951, 3.146, 12.854)
      ..cubicTo(3.047, 12.754, 2.997, 12.636, 2.997, 12.5)
      ..cubicTo(2.997, 12.364, 3.047, 12.246, 3.146, 12.146)
      ..lineTo(7.146, 8.146)
      ..cubicTo(7.246, 8.047, 7.364, 7.997, 7.5, 7.997)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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