gentleface

Gentleface › Arrows › chevrons-down-up

chevrons-down-up icon

Chevrons down up: show less, unfold less, collapse all. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

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

Both chevrons crouch apart, push in toward each other 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.5 1.997C10.636 1.997 10.754 2.047 10.854 2.146C10.951 2.244 11 2.362 11 2.5C11 2.638 10.951 2.756 10.854 2.854L7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L4.146 2.854C4.049 2.756 4 2.638 4 2.5C4 2.362 4.049 2.244 4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.5 4.793L10.146 2.146C10.246 2.047 10.364 1.997 10.5 1.997ZM7.5 8.997C7.636 8.997 7.754 9.047 7.854 9.146L10.854 12.146C10.953 12.246 11.003 12.364 11.003 12.5C11.003 12.636 10.953 12.754 10.854 12.854C10.754 12.953 10.636 13.003 10.5 13.003C10.364 13.003 10.246 12.953 10.146 12.854L7.5 10.207L4.854 12.854C4.756 12.951 4.638 13 4.5 13C4.362 13 4.244 12.951 4.146 12.854C4.047 12.754 3.997 12.636 3.997 12.5C3.997 12.364 4.047 12.246 4.146 12.146L7.146 9.146C7.246 9.047 7.364 8.997 7.5 8.997Z"/></svg>
React
// Gentleface "chevrons-down-up" (line-round), MIT. https://gentleface.com/icons/chevrons-down-up
import type { SVGProps } from 'react';

export function ChevronsDownUpIcon(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.5 1.997C10.636 1.997 10.754 2.047 10.854 2.146C10.951 2.244 11 2.362 11 2.5C11 2.638 10.951 2.756 10.854 2.854L7.854 5.854C7.754 5.953 7.636 6.003 7.5 6.003C7.364 6.003 7.246 5.953 7.146 5.854L4.146 2.854C4.049 2.756 4 2.638 4 2.5C4 2.362 4.049 2.244 4.146 2.146C4.244 2.049 4.362 2 4.5 2C4.638 2 4.756 2.049 4.854 2.146L7.5 4.793L10.146 2.146C10.246 2.047 10.364 1.997 10.5 1.997ZM7.5 8.997C7.636 8.997 7.754 9.047 7.854 9.146L10.854 12.146C10.953 12.246 11.003 12.364 11.003 12.5C11.003 12.636 10.953 12.754 10.854 12.854C10.754 12.953 10.636 13.003 10.5 13.003C10.364 13.003 10.246 12.953 10.146 12.854L7.5 10.207L4.854 12.854C4.756 12.951 4.638 13 4.5 13C4.362 13 4.244 12.951 4.146 12.854C4.047 12.754 3.997 12.636 3.997 12.5C3.997 12.364 4.047 12.246 4.146 12.146L7.146 9.146C7.246 9.047 7.364 8.997 7.5 8.997Z" />
    </svg>
  );
}
Vue
Vue: see /icons/chevrons-down-up.md
Svelte
Svelte: see /icons/chevrons-down-up.md
HTML img
HTML img: see /icons/chevrons-down-up.md
CSS
CSS: see /icons/chevrons-down-up.md
Data URL
Data URL: see /icons/chevrons-down-up.md
Sprite
Sprite: see /icons/chevrons-down-up.md
SwiftUI
SwiftUI: see /icons/chevrons-down-up.md
Compose
Compose: see /icons/chevrons-down-up.md
Android XML
Android XML: see /icons/chevrons-down-up.md
Flutter
Flutter: see /icons/chevrons-down-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 { ChevronsDownUpIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
show less, unfold less, collapse all
Alternatives
  • chevron-up: collapse one section (collapse)
  • fold: fold a code region in an editor (fold)
Also fits
  • collapse: collapse every section at once (show-less)
  • expand collapse: the collapse half of the pair (show-less)
  • fold: collapse all sections at once (show-less)
  • collapse list: collapse all sections of a page (show-less)
Tags
chevrons, collapse, collapse-all, unfold-less, show-less, fold, inward, caret
Category
Arrows
Component name
ChevronsDownUpIcon
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-down-up.json · Markdown: /icons/chevrons-down-up.md · SVG: https://gentleface.com/svg/{style}/16/chevrons-down-up.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/chevrons-down-up.png