Document Key icon
Used to represent general file types and actions. The Document Key icon is part of Microsoft's Fluent UI System Icons, available here in regular and filled styles on a 20 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Every size and style
Microsoft draws each size separately so icons stay crisp, rather than scaling one drawing. Pick a style and size to preview it, download it, or copy the code for your platform.
Regular, 20 px
ic_fluent_document_key_20_regular.svg
Document Key icon in React
npm install @fluentui/react-icons
import { DocumentKey20Regular } from "@fluentui/react-icons";
export function Example() {
return <DocumentKey20Regular aria-label="Document Key" />;
}Use the Document Key icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { DocumentKey20Regular, DocumentKey20Filled } from "@fluentui/react-icons";
export function Example() {
return <DocumentKey20Regular aria-label="Document Key" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_document_key_20_regular.svg" width="20" height="20" alt="Document Key"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h3v-1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v1.13q.48-.12.97-.13H16V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2zm-4.65 11.85q.15.15.35.15h2q.16 0 .27-.07.1-.06.15-.17l.06-.24.02-.25V18l.56-.02a.5.5 0 0 0 .3-.12q.1-.1.12-.3L14 17c.5 0 .63.02.77-.07a1 1 0 0 0 .15-.17 1 1 0 0 0 .07-.24q.03-.34.01-.7.26.1.52.14.27.04.54.04a2.9 2.9 0 0 0 2.08-.9A3 3 0 0 0 19 13a3 3 0 0 0-.87-2.12 3 3 0 0 0-5.04 2.83l-2.94 2.94q-.15.14-.15.35v1.5q0 .2.15.35m7.35-6.6c0 .41-.34.75-.75.75a.75.75 0 0 1-.75-.75c0-.41.34-.75.75-.75s.75.34.75.75"/></svg>Details
| Name | Document Key |
|---|---|
| Styles | Regular (outlined), Filled |
| Sizes | 20 px |
| Regular (outlined) file | ic_fluent_document_key_20_regular.svg |
| Filled file | ic_fluent_document_key_20_filled.svg |
| React (Regular) | DocumentKey20Regular |
| React (Filled) | DocumentKey20Filled |
| License | MIT (© Microsoft Corporation) |