hammer icon
hammer from Bootstrap Icons by The Bootstrap Authors · Outline · MIT Free for personal and commercial use.
- Name
- hammer
- Set
- Bootstrap Icons
- Style
- Outline
- Viewbox
- 16×16
- License
- MIT
The same icon in other sets
hammerAkar IconshammerEmoji One (Colored)hammerFramework7 IconshammerFont Awesome 6 SolidhammerFluent EmojihammerFluent Emoji FlathammerFluent Emoji High ContrasthammerHuge IconshammerIconoirhammerIonIconshammerJam IconshammerLine AwesomehammerLucidehammerMaterial Design Iconshammer-fillMingCute IconhammerNoto EmojihammerOpenMojihammerPhosphorhammer-fillRemix IconhammerTabler IconshammerTwitter Emoji
Use the hammer icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.972 2.508a.5.5 0 0 0-.16-.556l-.178-.129a5 5 0 0 0-2.076-.783C6.215.862 4.504 1.229 2.84 3.133H1.786a.5.5 0 0 0-.354.147L.146 4.567a.5.5 0 0 0 0 .706l2.571 2.579a.5.5 0 0 0 .708 0l1.286-1.29a.5.5 0 0 0 .146-.353V5.57l8.387 8.873A.5.5 0 0 0 14 14.5l1.5-1.5a.5.5 0 0 0 .017-.689l-9.129-8.63c.747-.456 1.772-.839 3.112-.839a.5.5 0 0 0 .472-.334"/></svg>
React
import type { SVGProps } from "react";
export function BiHammer(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.972 2.508a.5.5 0 0 0-.16-.556l-.178-.129a5 5 0 0 0-2.076-.783C6.215.862 4.504 1.229 2.84 3.133H1.786a.5.5 0 0 0-.354.147L.146 4.567a.5.5 0 0 0 0 .706l2.571 2.579a.5.5 0 0 0 .708 0l1.286-1.29a.5.5 0 0 0 .146-.353V5.57l8.387 8.873A.5.5 0 0 0 14 14.5l1.5-1.5a.5.5 0 0 0 .017-.689l-9.129-8.63c.747-.456 1.772-.839 3.112-.839a.5.5 0 0 0 .472-.334"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9.972 2.508a.5.5 0 0 0-.16-.556l-.178-.129a5 5 0 0 0-2.076-.783C6.215.862 4.504 1.229 2.84 3.133H1.786a.5.5 0 0 0-.354.147L.146 4.567a.5.5 0 0 0 0 .706l2.571 2.579a.5.5 0 0 0 .708 0l1.286-1.29a.5.5 0 0 0 .146-.353V5.57l8.387 8.873A.5.5 0 0 0 14 14.5l1.5-1.5a.5.5 0 0 0 .017-.689l-9.129-8.63c.747-.456 1.772-.839 3.112-.839a.5.5 0 0 0 .472-.334"/></svg> </template>
CSS
.icon-hammer {
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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.972%202.508a.5.5%200%200%200-.16-.556l-.178-.129a5%205%200%200%200-2.076-.783C6.215.862%204.504%201.229%202.84%203.133H1.786a.5.5%200%200%200-.354.147L.146%204.567a.5.5%200%200%200%200%20.706l2.571%202.579a.5.5%200%200%200%20.708%200l1.286-1.29a.5.5%200%200%200%20.146-.353V5.57l8.387%208.873A.5.5%200%200%200%2014%2014.5l1.5-1.5a.5.5%200%200%200%20.017-.689l-9.129-8.63c.747-.456%201.772-.839%203.112-.839a.5.5%200%200%200%20.472-.334%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.972%202.508a.5.5%200%200%200-.16-.556l-.178-.129a5%205%200%200%200-2.076-.783C6.215.862%204.504%201.229%202.84%203.133H1.786a.5.5%200%200%200-.354.147L.146%204.567a.5.5%200%200%200%200%20.706l2.571%202.579a.5.5%200%200%200%20.708%200l1.286-1.29a.5.5%200%200%200%20.146-.353V5.57l8.387%208.873A.5.5%200%200%200%2014%2014.5l1.5-1.5a.5.5%200%200%200%20.017-.689l-9.129-8.63c.747-.456%201.772-.839%203.112-.839a.5.5%200%200%200%20.472-.334%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bi/hammer.svg?color=%231a73e8&size=48