triangle icon
triangle from Unicons Monochrome by Iconscout · Monochrome · Shape · Apache-2.0 Free for personal and commercial use.
- Name
- triangle
- Set
- Unicons Monochrome
- Style
- Monochrome
- Category
- Shape
- Viewbox
- 24×24
- License
- Apache 2.0
The same icon in other sets
triangleAkar IconstriangleBootstrap IconstriangleFramework7 IconstriangleFeather Iconstriangle-12-filledFluent UI System IconstriangleHuge IconstriangleHumbleiconstriangleIconoirtriangleIonIconstriangleJam IconstriangleLucidetriangleMaterial Design Iconstriangle-fillMingCute Icontriangle-16OcticonstrianglePhosphortriangle-fillRemix IcontriangleTabler Iconstriangle-outlineTeenyiconstriangleUniconstriangleUnicons Solid
More shape icons from Unicons Monochrome
Use the triangle icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21 20.794H3a1 1 0 0 1-.866-1.5l9-15.588a1.04 1.04 0 0 1 1.732 0l9 15.588a1 1 0 0 1-.866 1.5"/></svg>
React
import type { SVGProps } from "react";
export function UimTriangle(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21 20.794H3a1 1 0 0 1-.866-1.5l9-15.588a1.04 1.04 0 0 1 1.732 0l9 15.588a1 1 0 0 1-.866 1.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21 20.794H3a1 1 0 0 1-.866-1.5l9-15.588a1.04 1.04 0 0 1 1.732 0l9 15.588a1 1 0 0 1-.866 1.5"/></svg> </template>
CSS
.icon-triangle {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%2020.794H3a1%201%200%200%201-.866-1.5l9-15.588a1.04%201.04%200%200%201%201.732%200l9%2015.588a1%201%200%200%201-.866%201.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21%2020.794H3a1%201%200%200%201-.866-1.5l9-15.588a1.04%201.04%200%200%201%201.732%200l9%2015.588a1%201%200%200%201-.866%201.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/uim/triangle.svg?color=%231a73e8&size=48