# arrow-up icon

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

- Category: Arrows
- Use it for: up, move up, scroll to top, upward, north, move item up, back to top
- Tags: arrow, direction, up, north
- Family: arrow-down, arrow-down-left, arrow-down-right, arrow-down-to-line, arrow-left, arrow-left-right, arrow-left-to-line, arrow-right, arrow-right-to-line, arrow-up-down, arrow-up-left, arrow-up-right, arrow-up-to-line, corner-down-left, corner-down-right, corner-right-up, external-link, fit-height, fit-screen, fit-width, move, move-horizontal, move-vertical, redo, refresh, shrink, undo
- Component name: ArrowUpIcon
- Added: 2026-10-14

## Alternatives

- `chevron-up`: a lighter direction cue inside a control, e.g. a stepper; the arrow is the explicit direction
- `arrow-up-to-line`: move the item all the way to the top (move-to-top)
- `bring-forward`: one step forward in the z-order of a canvas, not in a list (bring-forward)
- `chevrons-up`: scroll one page up (page-up)

## Don't confuse with

- `chevron-up`: chevron-up collapses a section; it does not move an item

## Also fits

- move to top: one position up (move-up)
- jump to top: a floating back-to-top button on a web page (scroll-to-top)
- page up: one step or one item up (up)

## Not for

- parent level (use `corner-right-up`): a plain up arrow is a direction or move-up; it does not say go to the parent
- caps lock (use `caps-lock`): move up or scroll to top (move-up)
- shift key (use `shift`): move up or scroll to top (move-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/arrow-up.svg · PNG https://gentleface.com/png/line-round/16/arrow-up.png · https://gentleface.com/png/line-round/32/arrow-up.png · https://gentleface.com/png/line-round/48/arrow-up.png
- line-soft: https://gentleface.com/svg/line-soft/16/arrow-up.svg · PNG https://gentleface.com/png/line-soft/16/arrow-up.png · https://gentleface.com/png/line-soft/32/arrow-up.png · https://gentleface.com/png/line-soft/48/arrow-up.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/arrow-up.svg · PNG https://gentleface.com/png/line-sharp/16/arrow-up.png · https://gentleface.com/png/line-sharp/32/arrow-up.png · https://gentleface.com/png/line-sharp/48/arrow-up.png
- solid-round: https://gentleface.com/svg/solid-round/16/arrow-up.svg · PNG https://gentleface.com/png/solid-round/16/arrow-up.png · https://gentleface.com/png/solid-round/32/arrow-up.png · https://gentleface.com/png/solid-round/48/arrow-up.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/arrow-up.svg · PNG https://gentleface.com/png/solid-soft/16/arrow-up.png · https://gentleface.com/png/solid-soft/32/arrow-up.png · https://gentleface.com/png/solid-soft/48/arrow-up.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/arrow-up.svg · PNG https://gentleface.com/png/solid-sharp/16/arrow-up.png · https://gentleface.com/png/solid-sharp/32/arrow-up.png · https://gentleface.com/png/solid-sharp/48/arrow-up.png

The SVG of every style: https://gentleface.com/icons/arrow-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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z"/></svg>
```

### React

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

export function ArrowUpIcon(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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "arrow-up" (line-round), MIT. https://gentleface.com/icons/arrow-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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "arrow-up" (line-round), MIT. https://gentleface.com/icons/arrow-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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "arrow-up" (line-round), MIT. https://gentleface.com/icons/arrow-up. Takes the text color. */
.icon-arrow-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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z'/%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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z'/%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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct ArrowUpIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.5, y: 2))
        p.addCurve(to: CGPoint(x: 7.854, y: 2.146), control1: CGPoint(x: 7.638, y: 2), control2: CGPoint(x: 7.756, y: 2.049))
        p.addLine(to: CGPoint(x: 11.854, y: 6.146))
        p.addCurve(to: CGPoint(x: 12, y: 6.5), control1: CGPoint(x: 11.951, y: 6.244), control2: CGPoint(x: 12, y: 6.362))
        p.addCurve(to: CGPoint(x: 11.854, y: 6.854), control1: CGPoint(x: 12, y: 6.638), control2: CGPoint(x: 11.951, y: 6.756))
        p.addCurve(to: CGPoint(x: 11.5, y: 7.003), control1: CGPoint(x: 11.754, y: 6.953), control2: CGPoint(x: 11.636, y: 7.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 6.854), control1: CGPoint(x: 11.364, y: 7.003), control2: CGPoint(x: 11.246, y: 6.953))
        p.addLine(to: CGPoint(x: 8, y: 3.707))
        p.addLine(to: CGPoint(x: 8, y: 12.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 12.856), control1: CGPoint(x: 8, y: 12.641), control2: CGPoint(x: 7.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 13), control1: CGPoint(x: 7.759, y: 12.952), control2: CGPoint(x: 7.641, 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.707))
        p.addLine(to: CGPoint(x: 3.854, y: 6.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 7), control1: CGPoint(x: 3.756, y: 6.951), control2: CGPoint(x: 3.638, y: 7))
        p.addCurve(to: CGPoint(x: 3.146, y: 6.854), control1: CGPoint(x: 3.362, y: 7), control2: CGPoint(x: 3.244, y: 6.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 6.5), control1: CGPoint(x: 3.047, y: 6.754), control2: CGPoint(x: 2.997, y: 6.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 6.146), control1: CGPoint(x: 2.997, y: 6.364), control2: CGPoint(x: 3.047, y: 6.246))
        p.addLine(to: CGPoint(x: 7.146, y: 2.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 7.244, y: 2.049), control2: CGPoint(x: 7.362, y: 2))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "arrow-up" (line-round), MIT. https://gentleface.com/icons/arrow-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 ArrowUpIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "arrow-up", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.5 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_arrow_up.xml · Gentleface "arrow-up" (line-round), MIT. https://gentleface.com/icons/arrow-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 2C7.638 2 7.756 2.049 7.854 2.146L11.854 6.146C11.951 6.244 12 6.362 12 6.5C12 6.638 11.951 6.756 11.854 6.854C11.754 6.953 11.636 7.003 11.5 7.003C11.364 7.003 11.246 6.953 11.146 6.854L8 3.707L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 3.707L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2Z"/>
</vector>
```

### Flutter

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

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

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

class _ArrowUpIconPainter extends CustomPainter {
  _ArrowUpIconPainter(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, 2)
      ..cubicTo(7.638, 2, 7.756, 2.049, 7.854, 2.146)
      ..lineTo(11.854, 6.146)
      ..cubicTo(11.951, 6.244, 12, 6.362, 12, 6.5)
      ..cubicTo(12, 6.638, 11.951, 6.756, 11.854, 6.854)
      ..cubicTo(11.754, 6.953, 11.636, 7.003, 11.5, 7.003)
      ..cubicTo(11.364, 7.003, 11.246, 6.953, 11.146, 6.854)
      ..lineTo(8, 3.707)
      ..lineTo(8, 12.5)
      ..cubicTo(8, 12.641, 7.952, 12.759, 7.856, 12.856)
      ..cubicTo(7.759, 12.952, 7.641, 13, 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.707)
      ..lineTo(3.854, 6.854)
      ..cubicTo(3.756, 6.951, 3.638, 7, 3.5, 7)
      ..cubicTo(3.362, 7, 3.244, 6.951, 3.146, 6.854)
      ..cubicTo(3.047, 6.754, 2.997, 6.636, 2.997, 6.5)
      ..cubicTo(2.997, 6.364, 3.047, 6.246, 3.146, 6.146)
      ..lineTo(7.146, 2.146)
      ..cubicTo(7.244, 2.049, 7.362, 2, 7.5, 2)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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