Triangle icon

The Triangle 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.

Regular (outlined)

SVG

Filled

SVG

Use the Triangle 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 { Triangle24Regular, Triangle24Filled } from "@fluentui/react-icons";

export function Example() {
  return <Triangle24Regular aria-label="Triangle" />;
}

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_triangle_24_regular.svg" width="24" height="24" alt="Triangle">

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="M2.30159 16.6305C1.44124 18.1305 2.52413 20 4.25334 20H19.7424C21.4716 20 22.5545 18.1305 21.6941 16.6305L13.9496 3.1283C13.085 1.62092 10.9107 1.62093 10.0461 3.12831L2.30159 16.6305ZM4.25334 18.5C3.67693 18.5 3.31597 17.8768 3.60276 17.3768L11.3473 3.87462C11.6355 3.37216 12.3602 3.37216 12.6484 3.87462L20.3929 17.3768C20.6797 17.8768 20.3188 18.5 19.7424 18.5H4.25334Z" 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/triangle_24_regular.svg";

Details

NameTriangle
StylesRegular (outlined), Filled
Size24 × 24 px (scalable SVG)
Regular (outlined) fileic_fluent_triangle_24_regular.svg
Filled fileic_fluent_triangle_24_filled.svg
React componentsTriangle24Regular, Triangle24Filled
LicenseMIT (© Microsoft Corporation)

Keywords

triangleshapearrowusedforgeneralpointing.containsdirectionalvariants.

Related icons