gentleface

Gentleface › Arrows › arrow-up-down

arrow-up-down icon

Arrow up down: swap vertical, swap up down. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

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="M4.146 1.146C4.244 1.049 4.362 1 4.5 1C4.638 1 4.756 1.049 4.854 1.146L7.854 4.146C7.953 4.246 8.003 4.364 8.003 4.5C8.003 4.636 7.953 4.754 7.854 4.854C7.754 4.953 7.636 5.003 7.5 5.003C7.364 5.003 7.246 4.953 7.146 4.854L5 2.707L5 10.5C5 10.641 4.952 10.759 4.856 10.856C4.759 10.952 4.641 11 4.5 11C4.359 11 4.241 10.952 4.144 10.856C4.048 10.759 4 10.641 4 10.5L4 2.707L1.854 4.854C1.756 4.951 1.638 5 1.5 5C1.362 5 1.244 4.951 1.146 4.854C1.049 4.756 1 4.638 1 4.5C1 4.362 1.049 4.244 1.146 4.146L4.146 1.146ZM13.146 11.146C13.246 11.047 13.364 10.997 13.5 10.997C13.636 10.997 13.754 11.047 13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854L10.854 14.854C10.754 14.953 10.636 15.003 10.5 15.003C10.364 15.003 10.246 14.953 10.146 14.854L7.146 11.854C7.047 11.754 6.997 11.636 6.997 11.5C6.997 11.364 7.047 11.246 7.146 11.146C7.244 11.049 7.362 11 7.5 11C7.638 11 7.756 11.049 7.854 11.146L10 13.293L10 5.5C10 5.359 10.048 5.241 10.144 5.144C10.241 5.048 10.359 5 10.5 5C10.641 5 10.759 5.048 10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 13.293L13.146 11.146Z"/></svg>
React
// Gentleface "arrow-up-down" (line-round), MIT. https://gentleface.com/icons/arrow-up-down
import type { SVGProps } from 'react';

export function ArrowUpDownIcon(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="M4.146 1.146C4.244 1.049 4.362 1 4.5 1C4.638 1 4.756 1.049 4.854 1.146L7.854 4.146C7.953 4.246 8.003 4.364 8.003 4.5C8.003 4.636 7.953 4.754 7.854 4.854C7.754 4.953 7.636 5.003 7.5 5.003C7.364 5.003 7.246 4.953 7.146 4.854L5 2.707L5 10.5C5 10.641 4.952 10.759 4.856 10.856C4.759 10.952 4.641 11 4.5 11C4.359 11 4.241 10.952 4.144 10.856C4.048 10.759 4 10.641 4 10.5L4 2.707L1.854 4.854C1.756 4.951 1.638 5 1.5 5C1.362 5 1.244 4.951 1.146 4.854C1.049 4.756 1 4.638 1 4.5C1 4.362 1.049 4.244 1.146 4.146L4.146 1.146ZM13.146 11.146C13.246 11.047 13.364 10.997 13.5 10.997C13.636 10.997 13.754 11.047 13.854 11.146C13.953 11.246 14.003 11.364 14.003 11.5C14.003 11.636 13.953 11.754 13.854 11.854L10.854 14.854C10.754 14.953 10.636 15.003 10.5 15.003C10.364 15.003 10.246 14.953 10.146 14.854L7.146 11.854C7.047 11.754 6.997 11.636 6.997 11.5C6.997 11.364 7.047 11.246 7.146 11.146C7.244 11.049 7.362 11 7.5 11C7.638 11 7.756 11.049 7.854 11.146L10 13.293L10 5.5C10 5.359 10.048 5.241 10.144 5.144C10.241 5.048 10.359 5 10.5 5C10.641 5 10.759 5.048 10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 13.293L13.146 11.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/arrow-up-down.md
Svelte
Svelte: see /icons/arrow-up-down.md
HTML img
HTML img: see /icons/arrow-up-down.md
CSS
CSS: see /icons/arrow-up-down.md
Data URL
Data URL: see /icons/arrow-up-down.md
Sprite
Sprite: see /icons/arrow-up-down.md
SwiftUI
SwiftUI: see /icons/arrow-up-down.md
Compose
Compose: see /icons/arrow-up-down.md
Android XML
Android XML: see /icons/arrow-up-down.md
Flutter
Flutter: see /icons/arrow-up-down.md

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. 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. More in how to use.

Meaning

Use it for
swap vertical, swap up down
Alternatives
Don’t confuse with
  • move-vertical: one shaft with two heads means resize or move vertically
Also fits
  • swap: the two fields are stacked, e.g. origin and destination in a form (swap-vertical)
Not for
  • sort (use sort): arrow-up-down swaps two items vertically; it does not sort
  • dropdown (use chevrons-up-down): two opposed arrows mean swap (swap-vertical), not a select
  • resize vertical (use move-vertical): two paired arrows mean swap
Tags
arrows, swap, exchange, vertical, up-down, bidirectional
Category
Arrows
Component name
ArrowUpDownIcon
History
  • added

Family 27

More arrows icons

For agents

Metadata: /icons/arrow-up-down.json · Markdown: /icons/arrow-up-down.md · SVG: https://gentleface.com/svg/{style}/16/arrow-up-down.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/arrow-up-down.png

Feedback