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. Part of the free toolbar icon set.

Animated chevron-up-hop · line-round

The chevron crouches, shoots off the top edge, and a new one runs in from the bottom and overshoots.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 1.6 s. Examples and helper.

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 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. 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.

With npm: import { ChevronUpIcon } from '@gentleface/react'; (setup).

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
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 24

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