The Heroicons chevron up down icon depicts two opposing chevrons, commonly used to indicate a sortable column or a collapsible/expandable section.
Common uses
- Sortable table header
- Accordion toggle
- Expand/collapse state indicator
Use it in React
Install
npm i @heroicons/reactImport & render
import { ChevronUpDownIcon } from '@heroicons/react/24/outline';
<ChevronUpDownIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<ChevronUpDownIcon className="size-6" />24/solid
<ChevronUpDownIcon className="size-6" />20/solid
<ChevronUpDownIcon className="size-6" />16/solid
<ChevronUpDownIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- chevronupdownsortabletoggleexpandcollapse
FAQ
- What is the chevron up down icon used for?
- It typically signifies a bidirectional state, such as ascending/descending sort order or an expandable/collapsible element.
- How do I use this icon in React?
- Import it using `import { ChevronUpDownIcon } from '@heroicons/react/24/outline'` and render the component.
- What is the license for Heroicons?
- Heroicons are released under the MIT license, allowing for free use.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →