John KuehJohn Kueh

caret up down icon

Phosphor · caret-up-down · MIT

Download SVG

The Phosphor caret up down icon depicts two opposing chevrons, commonly used to indicate a sortable column or a collapsible section in a user interface.

Common uses

  • Sortable table column header
  • Expand/collapse accordion section
  • Dropdown menu indicator

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { CaretUpDown } from '@phosphor-icons/react';

<CaretUpDown size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<CaretUpDown size={24} />
thin
<CaretUpDown size={24} weight="thin" />
light
<CaretUpDown size={24} weight="light" />
bold
<CaretUpDown size={24} weight="bold" />
fill
<CaretUpDown size={24} weight="fill" />
duotone
<CaretUpDown size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
arrows
Keywords
chevrondirectionalpointerpointingarrowheadtrianglearrowscaretupdownsort icontoggle iconchevron up downexpand collapse

FAQ

What is the caret up down icon used for?
It typically signifies a state where an item can be sorted in ascending or descending order, or a section that can be expanded or collapsed.
How do I use the caret up down icon in React?
Import it from the library and use it as a component: import { CaretUpDown } from '@phosphor-icons/react'; <CaretUpDown />.
What is the license for Phosphor icons?
Phosphor icons are distributed under the MIT license, which allows for free use in both personal and commercial projects.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor 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 →