file lock icon
file-lock from IconPark by ByteDance · Color · Office · Apache-2.0 Free for personal and commercial use.
- Name
- file-lock
- Set
- IconPark
- Style
- Color
- Category
- Office
- Viewbox
- 48×48
- License
- Apache 2.0
The same icon in other sets
More office icons from IconPark
Use the file lock icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" stroke="#000" d="M10 44H38C39.1046 44 40 43.1046 40 42V14H30V4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44Z"/><path stroke="#000" d="M30 4L40 14"/><rect width="14" height="8" x="17" y="27" fill="#43CCF8" stroke="#fff"/><path stroke="#fff" d="M28 27V23C28 21.3431 27 19 24 19C21 19 20 21.3431 20 23V27"/></g></svg>
React
import type { SVGProps } from "react";
export function IconParkFileLock(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path fill="#2F88FF" stroke="#000" d="M10 44H38C39.1046 44 40 43.1046 40 42V14H30V4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44Z"/><path stroke="#000" d="M30 4L40 14"/><rect width="14" height="8" x="17" y="27" fill="#43CCF8" stroke="#fff"/><path stroke="#fff" d="M28 27V23C28 21.3431 27 19 24 19C21 19 20 21.3431 20 23V27"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" stroke="#000" d="M10 44H38C39.1046 44 40 43.1046 40 42V14H30V4H10C8.89543 4 8 4.89543 8 6V42C8 43.1046 8.89543 44 10 44Z"/><path stroke="#000" d="M30 4L40 14"/><rect width="14" height="8" x="17" y="27" fill="#43CCF8" stroke="#fff"/><path stroke="#fff" d="M28 27V23C28 21.3431 27 19 24 19C21 19 20 21.3431 20 23V27"/></g></svg> </template>
CSS
.icon-file-lock {
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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20d%3D%22M10%2044H38C39.1046%2044%2040%2043.1046%2040%2042V14H30V4H10C8.89543%204%208%204.89543%208%206V42C8%2043.1046%208.89543%2044%2010%2044Z%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20d%3D%22M30%204L40%2014%22%2F%3E%3Crect%20width%3D%2214%22%20height%3D%228%22%20x%3D%2217%22%20y%3D%2227%22%20fill%3D%22%2343CCF8%22%20stroke%3D%22%23fff%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20d%3D%22M28%2027V23C28%2021.3431%2027%2019%2024%2019C21%2019%2020%2021.3431%2020%2023V27%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20d%3D%22M10%2044H38C39.1046%2044%2040%2043.1046%2040%2042V14H30V4H10C8.89543%204%208%204.89543%208%206V42C8%2043.1046%208.89543%2044%2010%2044Z%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20d%3D%22M30%204L40%2014%22%2F%3E%3Crect%20width%3D%2214%22%20height%3D%228%22%20x%3D%2217%22%20y%3D%2227%22%20fill%3D%22%2343CCF8%22%20stroke%3D%22%23fff%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20d%3D%22M28%2027V23C28%2021.3431%2027%2019%2024%2019C21%2019%2020%2021.3431%2020%2023V27%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/file-lock.svg?color=%231a73e8&size=48