gentleface

Gentleface › Arrows › chevrons-up-down

chevrons-up-down icon

Chevrons up down: select, dropdown, expand collapse, selector. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated chevrons-up-down-push · line-round

Both chevrons crouch toward the middle, push out apart together, and come back past their places before settling.

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.3 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="M10.854 5.146C10.951 5.244 11 5.362 11 5.5C11 5.638 10.951 5.756 10.854 5.854C10.754 5.953 10.636 6.003 10.5 6.003C10.364 6.003 10.246 5.953 10.146 5.854L7.5 3.207L4.854 5.854C4.754 5.953 4.636 6.003 4.5 6.003C4.364 6.003 4.246 5.953 4.146 5.854C4.047 5.754 3.997 5.636 3.997 5.5C3.997 5.364 4.047 5.246 4.146 5.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2C7.638 2 7.756 2.049 7.854 2.146L10.854 5.146ZM10.146 9.146C10.246 9.047 10.364 8.997 10.5 8.997C10.636 8.997 10.754 9.047 10.854 9.146C10.953 9.246 11.003 9.364 11.003 9.5C11.003 9.636 10.953 9.754 10.854 9.854L7.854 12.854C7.754 12.953 7.636 13.003 7.5 13.003C7.364 13.003 7.246 12.953 7.146 12.854L4.146 9.854C4.047 9.754 3.997 9.636 3.997 9.5C3.997 9.364 4.047 9.246 4.146 9.146C4.244 9.049 4.362 9 4.5 9C4.638 9 4.756 9.049 4.854 9.146L7.5 11.793L10.146 9.146Z"/></svg>
React
// Gentleface "chevrons-up-down" (line-round), MIT. https://gentleface.com/icons/chevrons-up-down
import type { SVGProps } from 'react';

export function ChevronsUpDownIcon(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="M10.854 5.146C10.951 5.244 11 5.362 11 5.5C11 5.638 10.951 5.756 10.854 5.854C10.754 5.953 10.636 6.003 10.5 6.003C10.364 6.003 10.246 5.953 10.146 5.854L7.5 3.207L4.854 5.854C4.754 5.953 4.636 6.003 4.5 6.003C4.364 6.003 4.246 5.953 4.146 5.854C4.047 5.754 3.997 5.636 3.997 5.5C3.997 5.364 4.047 5.246 4.146 5.146L7.146 2.146C7.244 2.049 7.362 2 7.5 2C7.638 2 7.756 2.049 7.854 2.146L10.854 5.146ZM10.146 9.146C10.246 9.047 10.364 8.997 10.5 8.997C10.636 8.997 10.754 9.047 10.854 9.146C10.953 9.246 11.003 9.364 11.003 9.5C11.003 9.636 10.953 9.754 10.854 9.854L7.854 12.854C7.754 12.953 7.636 13.003 7.5 13.003C7.364 13.003 7.246 12.953 7.146 12.854L4.146 9.854C4.047 9.754 3.997 9.636 3.997 9.5C3.997 9.364 4.047 9.246 4.146 9.146C4.244 9.049 4.362 9 4.5 9C4.638 9 4.756 9.049 4.854 9.146L7.5 11.793L10.146 9.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/chevrons-up-down.md
Svelte
Svelte: see /icons/chevrons-up-down.md
HTML img
HTML img: see /icons/chevrons-up-down.md
CSS
CSS: see /icons/chevrons-up-down.md
Data URL
Data URL: see /icons/chevrons-up-down.md
Sprite
Sprite: see /icons/chevrons-up-down.md
SwiftUI
SwiftUI: see /icons/chevrons-up-down.md
Compose
Compose: see /icons/chevrons-up-down.md
Android XML
Android XML: see /icons/chevrons-up-down.md
Flutter
Flutter: see /icons/chevrons-up-down.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 { ChevronsUpDownIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
select, dropdown, expand collapse, selector, select menu, dropdown indicator, unfold more, expand all, show more
Alternatives
  • input-select: the whole closed select field in a form builder (select-field)
  • chevron-down: the arrow of a menu button or a split button (open-menu)
  • dropdown-menu: the open menu with its list of items (dropdown-menu)
  • chevrons-down-up: the collapse half of the pair (show-less)
Don’t confuse with
  • arrow-up-down: two opposed arrows mean swap (swap-vertical), not a select
  • sort: sort orders a list by a key (sort)
Also fits
  • open menu: the indicator of a select field (dropdown)
  • dropdown menu: the bare dropdown indicator on a field (dropdown)
  • select field: the bare indicator inside an existing field (dropdown)
  • expand list: expand all sections of a page (expand-all)
Tags
caret, selector, unfold, sort, up-down
Category
Arrows
Component name
ChevronsUpDownIcon
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/chevrons-up-down.json · Markdown: /icons/chevrons-up-down.md · SVG: https://gentleface.com/svg/{style}/16/chevrons-up-down.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/chevrons-up-down.png