Key Icon
Free SVG icon from the Mage Icons collection. Download or copy for use in any project.
The Key icon is commonly used in password managers, authentication screens and security panels. Available as a free SVG - copy the code or download directly.
img tag
<img src="https://proicons.com/icon/310189.svg" alt="Key icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/310189.svg" alt="Key icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/310189.svg" alt="Key icon" :width="24" :height="24" />
CSS background
.icon-key {
background-image: url('https://proicons.com/icon/310189.svg');
background-size: contain;
background-repeat: no-repeat;
width: 24px;
height: 24px;
display: inline-block;
}
SVG markup
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M21.9532 8.46333C21.7857 6.80361 21.04 5.25579 19.8467 4.09102L19.7394 4.00318C18.5879 2.88377 17.0905 2.1892 15.4927 2.03341C13.895 1.87761 12.2917 2.26983 10.946 3.14575C9.6002 4.02166 8.59184 5.32925 8.08627 6.85405C7.5807 8.37886 7.60793 10.0303 8.1635 11.5376L2.21462 17.5105C2.07741 17.6476 2.00024 17.8337 2.00007 18.0278V21.268C1.99875 21.3644 2.01678 21.4602 2.05307 21.5496C2.08936 21.639 2.14319 21.7202 2.21137 21.7885C2.27956 21.8567 2.36071 21.9106 2.45005 21.9469C2.53938 21.9832 2.63507 22.0012 2.73149 21.9999H5.97899C6.08446 22.0013 6.18897 21.9796 6.28513 21.9362C6.3813 21.8928 6.46679 21.8289 6.53559 21.7488C6.60439 21.6688 6.65482 21.5747 6.68334 21.4731C6.71186 21.3714 6.71778 21.2648 6.70066 21.1606L6.55437 20.1846L7.46134 20.331C7.5764 20.3508 7.69448 20.3435 7.80621 20.3096C7.91794 20.2757 8.02024 20.2162 8.10497 20.1358L9.73361 18.506C9.81617 18.4245 9.87787 18.3243 9.91352 18.2139C9.94917 18.1034 9.95771 17.986 9.9384 17.8716L9.78236 16.8957L10.7576 17.042C10.8719 17.0605 10.989 17.0516 11.0992 17.016C11.2094 16.9803 11.3096 16.919 11.3915 16.8371L12.474 15.744C13.6005 16.1616 14.8147 16.285 16.0021 16.1026C17.1895 15.9202 18.3109 15.4381 19.2605 14.7017C20.21 13.9653 20.9564 12.999 21.4293 11.8938C21.9021 10.7887 22.0858 9.58116 21.9629 8.38526L21.9532 8.46333ZM17.4281 10.8349C17.0111 11.2623 16.4734 11.5517 15.8873 11.6645C15.6946 11.7028 15.4986 11.7224 15.3021 11.723C14.9078 11.7221 14.5172 11.6459 14.1514 11.4986C13.6023 11.2697 13.1338 10.8824 12.8056 10.386C12.471 9.89416 12.2941 9.31203 12.2984 8.71708C12.2981 8.12334 12.4741 7.54288 12.804 7.04939C13.1339 6.5559 13.6029 6.17163 14.1514 5.94535C14.7015 5.72126 15.3053 5.66377 15.8879 5.78002C16.4704 5.89626 17.006 6.18112 17.4281 6.59924C17.9844 7.16357 18.2963 7.92439 18.2963 8.71708C18.2963 9.50978 17.9844 10.2706 17.4281 10.8349Z" fill="black"/> </svg>
Copied!