key icon
key from Line Awesome by Icons8 · Line · Security · Apache-2.0 Free for personal and commercial use.
- Name
- key
- Set
- Line Awesome
- Style
- Line
- Category
- Security
- Viewbox
- 32×32
- License
- Apache 2.0
- Aliases
- key-solid
The same icon in other sets
keyAkar IconskeyBootstrap IconskeyBoxIcons v2keyBoxIcons v2 SolidkeyCarbonkeyCatppuccin IconskeyEmoji One (Colored)keyFont Awesome 6 SolidkeyFeather Iconskey-16-filledFluent UI System IconskeyFluent EmojikeyFluent Emoji FlatkeyFluent Emoji High Contrastkeycss.ggkeyHeroIconskeyHumbleiconskeyIconoirkeyIonIconskeyJam IconskeyLucidekeyMage IconskeyMajesticonskeyMaterial SymbolskeyMaterial Design Icons
More security icons from Line Awesome
Use the key icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M20 3c-4.945 0-9 4.055-9 9c0 .52.086.977.156 1.438L3.281 21.28L3 21.594V29h7v-3h3v-3h3v-2.969c1.18.578 2.555.969 4 .969c4.945 0 9-4.055 9-9s-4.055-9-9-9m0 2c3.855 0 7 3.145 7 7s-3.145 7-7 7a7.36 7.36 0 0 1-3.406-.875l-.25-.125H14v3h-3v3H8v3H5v-4.563l7.906-7.937l.375-.344l-.094-.531C13.086 13.023 13 12.488 13 12c0-3.855 3.145-7 7-7m2 3a1.999 1.999 0 1 0 0 4a1.999 1.999 0 1 0 0-4"/></svg>
React
import type { SVGProps } from "react";
export function LaKey(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M20 3c-4.945 0-9 4.055-9 9c0 .52.086.977.156 1.438L3.281 21.28L3 21.594V29h7v-3h3v-3h3v-2.969c1.18.578 2.555.969 4 .969c4.945 0 9-4.055 9-9s-4.055-9-9-9m0 2c3.855 0 7 3.145 7 7s-3.145 7-7 7a7.36 7.36 0 0 1-3.406-.875l-.25-.125H14v3h-3v3H8v3H5v-4.563l7.906-7.937l.375-.344l-.094-.531C13.086 13.023 13 12.488 13 12c0-3.855 3.145-7 7-7m2 3a1.999 1.999 0 1 0 0 4a1.999 1.999 0 1 0 0-4"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M20 3c-4.945 0-9 4.055-9 9c0 .52.086.977.156 1.438L3.281 21.28L3 21.594V29h7v-3h3v-3h3v-2.969c1.18.578 2.555.969 4 .969c4.945 0 9-4.055 9-9s-4.055-9-9-9m0 2c3.855 0 7 3.145 7 7s-3.145 7-7 7a7.36 7.36 0 0 1-3.406-.875l-.25-.125H14v3h-3v3H8v3H5v-4.563l7.906-7.937l.375-.344l-.094-.531C13.086 13.023 13 12.488 13 12c0-3.855 3.145-7 7-7m2 3a1.999 1.999 0 1 0 0 4a1.999 1.999 0 1 0 0-4"/></svg> </template>
CSS
.icon-key {
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%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%203c-4.945%200-9%204.055-9%209c0%20.52.086.977.156%201.438L3.281%2021.28L3%2021.594V29h7v-3h3v-3h3v-2.969c1.18.578%202.555.969%204%20.969c4.945%200%209-4.055%209-9s-4.055-9-9-9m0%202c3.855%200%207%203.145%207%207s-3.145%207-7%207a7.36%207.36%200%200%201-3.406-.875l-.25-.125H14v3h-3v3H8v3H5v-4.563l7.906-7.937l.375-.344l-.094-.531C13.086%2013.023%2013%2012.488%2013%2012c0-3.855%203.145-7%207-7m2%203a1.999%201.999%200%201%200%200%204a1.999%201.999%200%201%200%200-4%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%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%203c-4.945%200-9%204.055-9%209c0%20.52.086.977.156%201.438L3.281%2021.28L3%2021.594V29h7v-3h3v-3h3v-2.969c1.18.578%202.555.969%204%20.969c4.945%200%209-4.055%209-9s-4.055-9-9-9m0%202c3.855%200%207%203.145%207%207s-3.145%207-7%207a7.36%207.36%200%200%201-3.406-.875l-.25-.125H14v3h-3v3H8v3H5v-4.563l7.906-7.937l.375-.344l-.094-.531C13.086%2013.023%2013%2012.488%2013%2012c0-3.855%203.145-7%207-7m2%203a1.999%201.999%200%201%200%200%204a1.999%201.999%200%201%200%200-4%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/la/key.svg?color=%231a73e8&size=48