gentleface

Gentleface › Arrows › chevron-up

chevron-up icon

Chevron up: collapse, close menu, collapse section, close dropdown. 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="M7.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L11.854 9.146C11.953 9.246 12.003 9.364 12.003 9.5C12.003 9.636 11.953 9.754 11.854 9.854C11.754 9.953 11.636 10.003 11.5 10.003C11.364 10.003 11.246 9.953 11.146 9.854L7.5 6.207L3.854 9.854C3.756 9.951 3.638 10 3.5 10C3.362 10 3.244 9.951 3.146 9.854C3.047 9.754 2.997 9.636 2.997 9.5C2.997 9.364 3.047 9.246 3.146 9.146L7.146 5.146Z"/></svg>
React
// Gentleface "chevron-up" (line-round), MIT. https://gentleface.com/icons/chevron-up
import type { SVGProps } from 'react';

export function ChevronUpIcon(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.146 5.146C7.246 5.047 7.364 4.997 7.5 4.997C7.636 4.997 7.754 5.047 7.854 5.146L11.854 9.146C11.953 9.246 12.003 9.364 12.003 9.5C12.003 9.636 11.953 9.754 11.854 9.854C11.754 9.953 11.636 10.003 11.5 10.003C11.364 10.003 11.246 9.953 11.146 9.854L7.5 6.207L3.854 9.854C3.756 9.951 3.638 10 3.5 10C3.362 10 3.244 9.951 3.146 9.854C3.047 9.754 2.997 9.636 2.997 9.5C2.997 9.364 3.047 9.246 3.146 9.146L7.146 5.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/chevron-up.md
Svelte
Svelte: see /icons/chevron-up.md
HTML img
HTML img: see /icons/chevron-up.md
CSS
CSS: see /icons/chevron-up.md
Data URL
Data URL: see /icons/chevron-up.md
Sprite
Sprite: see /icons/chevron-up.md
SwiftUI
SwiftUI: see /icons/chevron-up.md
Compose
Compose: see /icons/chevron-up.md
Android XML
Android XML: see /icons/chevron-up.md
Flutter
Flutter: see /icons/chevron-up.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
collapse, close menu, collapse section, close dropdown
Alternatives
  • chevron-up-triangle: the filled caret (Material, Bootstrap, FA); pick one convention per product
  • chevrons-down-up: collapse every section at once (show-less)
  • fold: fold a code region in an editor gutter (fold)
  • x: dismiss a menu or a dialog entirely (close)
Don’t confuse with
  • minimize: minimize leaves fullscreen; it does not collapse a section
Also fits
  • up: a lighter direction cue inside a control, e.g. a stepper; the arrow is the explicit direction
  • show less: collapse one section (collapse)
  • highest priority: one step higher (high) when a product shows a five-level priority scale
  • fold: collapse a section of an app UI (collapse)
Not for
  • move up (use arrow-up): chevron-up collapses a section; it does not move an item
  • control key (use control): collapse or close a menu (collapse); the control legend sits high
Tags
caret, arrow, up
Category
Arrows
Component name
ChevronUpIcon
History
  • added

Family 15

More arrows icons

For agents

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

Feedback