# upload icon

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

- Category: Actions
- Use it for: upload
- Tags: upload, arrow, tray, send, put
- Family: upload-off
- Component name: UploadIcon
- Added: 2026-10-14

## Alternatives

- `cloud-arrow-up`: upload to cloud storage
- `file-arrow-up`: upload a file where the target must be named

## Don't confuse with

- `export`: export writes data out of the app, not to a server
- `share-up`: the iOS share sheet, not upload

## Also fits

- publish package: a plain upload
- cloud upload: a plain upload where the target is clear
- upload file: the bare upload when the UI already names the file
- drag and drop: a plain upload button (upload)

## Not for

- export (use `export`): tray + up arrow means upload to a server, not export
- import (use `import`): upload sends a file to a server; it does not import
- share (use `share`): upload sends a file to a server; share sends to a person or app
- move to top (use `arrow-up-to-line`): the tray with an arrow means upload; here the line is the top of the list
- outbox (use `inbox-arrow-up`): upload sends a file to a server
- unarchive (use `archive-arrow-up`): upload sends a file to a server; here the arrow means out of the archive

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

The SVG of every style: https://gentleface.com/icons/upload.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 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z"/></svg>
```

### React

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

export function UploadIcon(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 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "upload" (line-round), MIT. https://gentleface.com/icons/upload -->
<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 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "upload" (line-round), MIT. https://gentleface.com/icons/upload -->
<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 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "upload" (line-round), MIT. https://gentleface.com/icons/upload. Takes the text color. */
.icon-upload {
  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 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.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='M12 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.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='M12 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct UploadIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12, y: 5.5))
        p.addCurve(to: CGPoint(x: 11.854, y: 5.854), control1: CGPoint(x: 12, y: 5.638), control2: CGPoint(x: 11.951, y: 5.756))
        p.addCurve(to: CGPoint(x: 11.5, y: 6.003), control1: CGPoint(x: 11.754, y: 5.953), control2: CGPoint(x: 11.636, y: 6.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 5.854), control1: CGPoint(x: 11.364, y: 6.003), control2: CGPoint(x: 11.246, y: 5.953))
        p.addLine(to: CGPoint(x: 8, y: 2.707))
        p.addLine(to: CGPoint(x: 8, y: 10.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 10.856), control1: CGPoint(x: 8, y: 10.641), control2: CGPoint(x: 7.952, y: 10.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 11), control1: CGPoint(x: 7.759, y: 10.952), control2: CGPoint(x: 7.641, y: 11))
        p.addCurve(to: CGPoint(x: 7.144, y: 10.856), control1: CGPoint(x: 7.359, y: 11), control2: CGPoint(x: 7.241, y: 10.952))
        p.addCurve(to: CGPoint(x: 7, y: 10.5), control1: CGPoint(x: 7.048, y: 10.759), control2: CGPoint(x: 7, y: 10.641))
        p.addLine(to: CGPoint(x: 7, y: 2.707))
        p.addLine(to: CGPoint(x: 3.854, y: 5.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 6), control1: CGPoint(x: 3.756, y: 5.951), control2: CGPoint(x: 3.638, y: 6))
        p.addCurve(to: CGPoint(x: 3.146, y: 5.854), control1: CGPoint(x: 3.362, y: 6), control2: CGPoint(x: 3.244, y: 5.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 5.5), control1: CGPoint(x: 3.047, y: 5.754), control2: CGPoint(x: 2.997, y: 5.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 5.146), control1: CGPoint(x: 2.997, y: 5.364), control2: CGPoint(x: 3.047, y: 5.246))
        p.addLine(to: CGPoint(x: 7.146, y: 1.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 7.244, y: 1.049), control2: CGPoint(x: 7.362, y: 1))
        p.addCurve(to: CGPoint(x: 7.854, y: 1.146), control1: CGPoint(x: 7.638, y: 1), control2: CGPoint(x: 7.756, y: 1.049))
        p.addLine(to: CGPoint(x: 11.854, y: 5.146))
        p.addCurve(to: CGPoint(x: 12, y: 5.5), control1: CGPoint(x: 11.951, y: 5.244), control2: CGPoint(x: 12, y: 5.362))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13, y: 9.5))
        p.addCurve(to: CGPoint(x: 13.144, y: 9.144), control1: CGPoint(x: 13, y: 9.359), control2: CGPoint(x: 13.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 13.5, y: 9), control1: CGPoint(x: 13.241, y: 9.048), control2: CGPoint(x: 13.359, y: 9))
        p.addCurve(to: CGPoint(x: 13.856, y: 9.144), control1: CGPoint(x: 13.641, y: 9), control2: CGPoint(x: 13.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 14, y: 9.5), control1: CGPoint(x: 13.952, y: 9.241), control2: CGPoint(x: 14, y: 9.359))
        p.addLine(to: CGPoint(x: 14, y: 13))
        p.addCurve(to: CGPoint(x: 13.707, y: 13.707), control1: CGPoint(x: 14, y: 13.276), control2: CGPoint(x: 13.902, y: 13.512))
        p.addCurve(to: CGPoint(x: 13, y: 14), control1: CGPoint(x: 13.512, y: 13.902), control2: CGPoint(x: 13.276, y: 14))
        p.addLine(to: CGPoint(x: 2, y: 14))
        p.addCurve(to: CGPoint(x: 1.293, y: 13.707), control1: CGPoint(x: 1.724, y: 14), control2: CGPoint(x: 1.488, y: 13.902))
        p.addCurve(to: CGPoint(x: 1, y: 13), control1: CGPoint(x: 1.098, y: 13.512), control2: CGPoint(x: 1, y: 13.276))
        p.addLine(to: CGPoint(x: 1, y: 9.5))
        p.addCurve(to: CGPoint(x: 1.144, y: 9.144), control1: CGPoint(x: 1, y: 9.359), control2: CGPoint(x: 1.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 9), control1: CGPoint(x: 1.241, y: 9.048), control2: CGPoint(x: 1.359, y: 9))
        p.addCurve(to: CGPoint(x: 1.856, y: 9.144), control1: CGPoint(x: 1.641, y: 9), control2: CGPoint(x: 1.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 2, y: 9.5), control1: CGPoint(x: 1.952, y: 9.241), control2: CGPoint(x: 2, y: 9.359))
        p.addLine(to: CGPoint(x: 2, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 9.5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "upload" (line-round), MIT. https://gentleface.com/icons/upload
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 UploadIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "upload", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_upload.xml · Gentleface "upload" (line-round), MIT. https://gentleface.com/icons/upload -->
<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 5.5C12 5.638 11.951 5.756 11.854 5.854C11.754 5.953 11.636 6.003 11.5 6.003C11.364 6.003 11.246 5.953 11.146 5.854L8 2.707L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 2.707L3.854 5.854C3.756 5.951 3.638 6 3.5 6C3.362 6 3.244 5.951 3.146 5.854C3.047 5.754 2.997 5.636 2.997 5.5C2.997 5.364 3.047 5.246 3.146 5.146L7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146L11.854 5.146C11.951 5.244 12 5.362 12 5.5ZM13 9.5C13 9.359 13.048 9.241 13.144 9.144C13.241 9.048 13.359 9 13.5 9C13.641 9 13.759 9.048 13.856 9.144C13.952 9.241 14 9.359 14 9.5L14 13C14 13.276 13.902 13.512 13.707 13.707C13.512 13.902 13.276 14 13 14L2 14C1.724 14 1.488 13.902 1.293 13.707C1.098 13.512 1 13.276 1 13L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9C1.641 9 1.759 9.048 1.856 9.144C1.952 9.241 2 9.359 2 9.5L2 13L13 13L13 9.5Z"/>
</vector>
```

### Flutter

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

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

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

class _UploadIconPainter extends CustomPainter {
  _UploadIconPainter(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, 5.5)
      ..cubicTo(12, 5.638, 11.951, 5.756, 11.854, 5.854)
      ..cubicTo(11.754, 5.953, 11.636, 6.003, 11.5, 6.003)
      ..cubicTo(11.364, 6.003, 11.246, 5.953, 11.146, 5.854)
      ..lineTo(8, 2.707)
      ..lineTo(8, 10.5)
      ..cubicTo(8, 10.641, 7.952, 10.759, 7.856, 10.856)
      ..cubicTo(7.759, 10.952, 7.641, 11, 7.5, 11)
      ..cubicTo(7.359, 11, 7.241, 10.952, 7.144, 10.856)
      ..cubicTo(7.048, 10.759, 7, 10.641, 7, 10.5)
      ..lineTo(7, 2.707)
      ..lineTo(3.854, 5.854)
      ..cubicTo(3.756, 5.951, 3.638, 6, 3.5, 6)
      ..cubicTo(3.362, 6, 3.244, 5.951, 3.146, 5.854)
      ..cubicTo(3.047, 5.754, 2.997, 5.636, 2.997, 5.5)
      ..cubicTo(2.997, 5.364, 3.047, 5.246, 3.146, 5.146)
      ..lineTo(7.146, 1.146)
      ..cubicTo(7.244, 1.049, 7.362, 1, 7.5, 1)
      ..cubicTo(7.638, 1, 7.756, 1.049, 7.854, 1.146)
      ..lineTo(11.854, 5.146)
      ..cubicTo(11.951, 5.244, 12, 5.362, 12, 5.5)
      ..close()
      ..moveTo(13, 9.5)
      ..cubicTo(13, 9.359, 13.048, 9.241, 13.144, 9.144)
      ..cubicTo(13.241, 9.048, 13.359, 9, 13.5, 9)
      ..cubicTo(13.641, 9, 13.759, 9.048, 13.856, 9.144)
      ..cubicTo(13.952, 9.241, 14, 9.359, 14, 9.5)
      ..lineTo(14, 13)
      ..cubicTo(14, 13.276, 13.902, 13.512, 13.707, 13.707)
      ..cubicTo(13.512, 13.902, 13.276, 14, 13, 14)
      ..lineTo(2, 14)
      ..cubicTo(1.724, 14, 1.488, 13.902, 1.293, 13.707)
      ..cubicTo(1.098, 13.512, 1, 13.276, 1, 13)
      ..lineTo(1, 9.5)
      ..cubicTo(1, 9.359, 1.048, 9.241, 1.144, 9.144)
      ..cubicTo(1.241, 9.048, 1.359, 9, 1.5, 9)
      ..cubicTo(1.641, 9, 1.759, 9.048, 1.856, 9.144)
      ..cubicTo(1.952, 9.241, 2, 9.359, 2, 9.5)
      ..lineTo(2, 13)
      ..lineTo(13, 13)
      ..lineTo(13, 9.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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