pin icon
pin from Majesticons by Gerrit Halfmann · Solid · MIT Free for personal and commercial use.
- Name
- pin
- Set
- Majesticons
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
1 other variant in Majesticons
The same icon in other sets
pinAkar IconspinBootstrap IconspinBoxIcons v2pinBoxIcons v2 SolidpinCarbonpinCodiconspin-fillEva IconspinFramework7 Iconspin-12-filledFluent UI System Iconspin-16Fluent UI System Color Iconspincss.ggpinHuge IconspinIconParkpinIconPark OutlinepinIconPark SolidpinIconPark TwoTonepinIconoirpinIonIconspinJam IconspinLucidepinMage IconspinMaterial SymbolspinMaterial Symbols LightpinMaterial Design Icons
Use the pin icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M12.956 18.956L9 15l-3.956-3.956a1 1 0 0 1 .314-1.626l5.261-2.255a1 1 0 0 0 .535-.548l1.283-3.207a1 1 0 0 1 1.635-.336l6.856 6.856a1 1 0 0 1-.336 1.635l-3.207 1.283a1 1 0 0 0-.548.535l-2.255 5.261a1 1 0 0 1-1.626.314"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m4 20l5-5m0 0l3.956 3.956a1 1 0 0 0 1.626-.314l2.255-5.261a1 1 0 0 1 .548-.535l3.207-1.283a1 1 0 0 0 .336-1.635l-6.856-6.856a1 1 0 0 0-1.635.336l-1.283 3.207a1 1 0 0 1-.535.548L5.358 9.418a1 1 0 0 0-.314 1.626z"/></g></svg>
React
import type { SVGProps } from "react";
export function MajesticonsPin(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M12.956 18.956L9 15l-3.956-3.956a1 1 0 0 1 .314-1.626l5.261-2.255a1 1 0 0 0 .535-.548l1.283-3.207a1 1 0 0 1 1.635-.336l6.856 6.856a1 1 0 0 1-.336 1.635l-3.207 1.283a1 1 0 0 0-.548.535l-2.255 5.261a1 1 0 0 1-1.626.314"/><path stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="m4 20l5-5m0 0l3.956 3.956a1 1 0 0 0 1.626-.314l2.255-5.261a1 1 0 0 1 .548-.535l3.207-1.283a1 1 0 0 0 .336-1.635l-6.856-6.856a1 1 0 0 0-1.635.336l-1.283 3.207a1 1 0 0 1-.535.548L5.358 9.418a1 1 0 0 0-.314 1.626z"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M12.956 18.956L9 15l-3.956-3.956a1 1 0 0 1 .314-1.626l5.261-2.255a1 1 0 0 0 .535-.548l1.283-3.207a1 1 0 0 1 1.635-.336l6.856 6.856a1 1 0 0 1-.336 1.635l-3.207 1.283a1 1 0 0 0-.548.535l-2.255 5.261a1 1 0 0 1-1.626.314"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m4 20l5-5m0 0l3.956 3.956a1 1 0 0 0 1.626-.314l2.255-5.261a1 1 0 0 1 .548-.535l3.207-1.283a1 1 0 0 0 .336-1.635l-6.856-6.856a1 1 0 0 0-1.635.336l-1.283 3.207a1 1 0 0 1-.535.548L5.358 9.418a1 1 0 0 0-.314 1.626z"/></g></svg> </template>
CSS
.icon-pin {
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%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.956%2018.956L9%2015l-3.956-3.956a1%201%200%200%201%20.314-1.626l5.261-2.255a1%201%200%200%200%20.535-.548l1.283-3.207a1%201%200%200%201%201.635-.336l6.856%206.856a1%201%200%200%201-.336%201.635l-3.207%201.283a1%201%200%200%200-.548.535l-2.255%205.261a1%201%200%200%201-1.626.314%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m4%2020l5-5m0%200l3.956%203.956a1%201%200%200%200%201.626-.314l2.255-5.261a1%201%200%200%201%20.548-.535l3.207-1.283a1%201%200%200%200%20.336-1.635l-6.856-6.856a1%201%200%200%200-1.635.336l-1.283%203.207a1%201%200%200%201-.535.548L5.358%209.418a1%201%200%200%200-.314%201.626z%22%2F%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.956%2018.956L9%2015l-3.956-3.956a1%201%200%200%201%20.314-1.626l5.261-2.255a1%201%200%200%200%20.535-.548l1.283-3.207a1%201%200%200%201%201.635-.336l6.856%206.856a1%201%200%200%201-.336%201.635l-3.207%201.283a1%201%200%200%200-.548.535l-2.255%205.261a1%201%200%200%201-1.626.314%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m4%2020l5-5m0%200l3.956%203.956a1%201%200%200%200%201.626-.314l2.255-5.261a1%201%200%200%201%20.548-.535l3.207-1.283a1%201%200%200%200%20.336-1.635l-6.856-6.856a1%201%200%200%200-1.635.336l-1.283%203.207a1%201%200%200%201-.535.548L5.358%209.418a1%201%200%200%200-.314%201.626z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/majesticons/pin.svg?color=%231a73e8&size=48