keyhole icon
keyhole-fill from MingCute Icon by MingCute Design · Fill · Apache-2.0 Free for personal and commercial use.
- Name
- keyhole-fill
- Set
- MingCute Icon
- Style
- Fill
- Viewbox
- 24×24
- License
- Apache 2.0
1 other variant in MingCute Icon
The same icon in other sets
Use the keyhole icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 6a2.5 2.5 0 0 0-1.673 4.357c.143.13.227.319.196.51l-.426 2.551a.5.5 0 0 0 .493.582h2.82a.5.5 0 0 0 .493-.582l-.426-2.552a.57.57 0 0 1 .197-.509A2.5 2.5 0 0 0 12 8"/></svg>
React
import type { SVGProps } from "react";
export function MingcuteKeyholeFill(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="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 6a2.5 2.5 0 0 0-1.673 4.357c.143.13.227.319.196.51l-.426 2.551a.5.5 0 0 0 .493.582h2.82a.5.5 0 0 0 .493-.582l-.426-2.552a.57.57 0 0 1 .197-.509A2.5 2.5 0 0 0 12 8"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 6a2.5 2.5 0 0 0-1.673 4.357c.143.13.227.319.196.51l-.426 2.551a.5.5 0 0 0 .493.582h2.82a.5.5 0 0 0 .493-.582l-.426-2.552a.57.57 0 0 1 .197-.509A2.5 2.5 0 0 0 12 8"/></svg> </template>
CSS
.icon-keyhole-fill {
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%22M12%202c5.523%200%2010%204.477%2010%2010s-4.477%2010-10%2010S2%2017.523%202%2012S6.477%202%2012%202m0%206a2.5%202.5%200%200%200-1.673%204.357c.143.13.227.319.196.51l-.426%202.551a.5.5%200%200%200%20.493.582h2.82a.5.5%200%200%200%20.493-.582l-.426-2.552a.57.57%200%200%201%20.197-.509A2.5%202.5%200%200%200%2012%208%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%22M12%202c5.523%200%2010%204.477%2010%2010s-4.477%2010-10%2010S2%2017.523%202%2012S6.477%202%2012%202m0%206a2.5%202.5%200%200%200-1.673%204.357c.143.13.227.319.196.51l-.426%202.551a.5.5%200%200%200%20.493.582h2.82a.5.5%200%200%200%20.493-.582l-.426-2.552a.57.57%200%200%201%20.197-.509A2.5%202.5%200%200%200%2012%208%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/mingcute/keyhole-fill.svg?color=%231a73e8&size=48