triangle icon
triangle-sharp from IonIcons by Ben Sperry · Sharp · MIT Free for personal and commercial use.
- Name
- triangle-sharp
- Set
- IonIcons
- Style
- Sharp
- Viewbox
- 512×512
- License
- MIT
2 other variants in IonIcons
The same icon in other sets
triangleAkar IconstriangleBootstrap IconstriangleFramework7 IconstriangleFeather Iconstriangle-12-filledFluent UI System IconstriangleHuge IconstriangleHumbleiconstriangleIconParktriangleIconPark OutlinetriangleIconPark SolidtriangleIconPark TwoTonetriangleIconoirtriangleJam IconstriangleLucidetriangleMaterial Design Iconstriangle-fillMingCute IcontriangleMyna UI Iconstriangle-16OcticonstrianglePhosphortriangle-fillRemix IcontriangleTabler Iconstriangle-outlineTeenyiconstriangleUniconstriangleUnicons Monochrome
Use the triangle icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M256 32L20 464h472z"/></svg>
React
import type { SVGProps } from "react";
export function IonTriangleSharp(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M256 32L20 464h472z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M256 32L20 464h472z"/></svg> </template>
CSS
.icon-triangle-sharp {
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%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M256%2032L20%20464h472z%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%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M256%2032L20%20464h472z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/triangle-sharp.svg?color=%231a73e8&size=48