Caret Up icon
Used in dropdown & expanding contracting scenarios. Contains directional variants. The Caret Up icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Caret Up icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { CaretUp24Regular, CaretUp24Filled } from "@fluentui/react-icons";
export function Example() {
return <CaretUp24Regular aria-label="Caret Up" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_caret_up_24_regular.svg" width="24" height="24" alt="Caret Up"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.16132 14.9073C4.45412 15.7156 5.0281 16.9805 6.10204 16.9805H17.8983C18.9722 16.9805 19.5462 15.7156 18.839 14.9073L13.3172 8.59668C12.6199 7.79985 11.3804 7.79986 10.6831 8.59668L5.16132 14.9073ZM6.65298 15.4805L11.812 9.58443C11.9116 9.4706 12.0887 9.4706 12.1883 9.58443L17.3473 15.4805H6.65298Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/caret_up_24_regular.svg";Details
| Name | Caret Up |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_caret_up_24_regular.svg |
| Filled file | ic_fluent_caret_up_24_filled.svg |
| React components | CaretUp24Regular, CaretUp24Filled |
| License | MIT (© Microsoft Corporation) |