Document Link icon
Used to represent general file types and actions. The Document Link icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Document Link 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 { DocumentLink24Regular, DocumentLink24Filled } from "@fluentui/react-icons";
export function Example() {
return <DocumentLink24Regular aria-label="Document Link" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_document_link_24_regular.svg" width="24" height="24" alt="Document Link"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.5 20C18.5 20.275 18.276 20.5 18 20.5H13.7711C13.5995 21.0464 13.3366 21.5523 13.0004 22H18C19.104 22 20 21.104 20 20V9.828C20 9.298 19.789 8.789 19.414 8.414L13.585 2.586C13.2194 2.22035 12.6865 2 12.172 2H6C4.896 2 4 2.896 4 4V14H5.5V4C5.5 3.725 5.724 3.5 6 3.5H12V8C12 9.104 12.896 10 14 10H18.5V20ZM13.5 4.621L17.378 8.5H14C13.724 8.5 13.5 8.275 13.5 8V4.621ZM5.75 15.75C5.75 15.3358 5.41421 15 5 15L4.80036 15.0049C2.68397 15.1089 1 16.8578 1 19C1 21.2091 2.79086 23 5 23L5.10177 22.9932C5.46785 22.9435 5.75 22.6297 5.75 22.25C5.75 21.8358 5.41421 21.5 5 21.5L4.83562 21.4947C3.53154 21.41 2.5 20.3255 2.5 19C2.5 17.6193 3.61929 16.5 5 16.5L5.10177 16.4932C5.46785 16.4435 5.75 16.1297 5.75 15.75ZM13 19C13 16.7909 11.2091 15 9 15L8.89823 15.0068C8.53215 15.0565 8.25 15.3703 8.25 15.75C8.25 16.1642 8.58579 16.5 9 16.5L9.16438 16.5053C10.4685 16.59 11.5 17.6745 11.5 19C11.5 20.3807 10.3807 21.5 9 21.5L8.89823 21.5068C8.53215 21.5565 8.25 21.8703 8.25 22.25C8.25 22.6642 8.58579 23 9 23L9.19964 22.9951C11.316 22.8911 13 21.1422 13 19ZM8.75 18.25H5.25L5.14823 18.2568C4.78215 18.3065 4.5 18.6203 4.5 19C4.5 19.4142 4.83579 19.75 5.25 19.75H8.75L8.85177 19.7432C9.21785 19.6935 9.5 19.3797 9.5 19C9.5 18.5858 9.16421 18.25 8.75 18.25Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/document_link_24_regular.svg";Details
| Name | Document Link |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_document_link_24_regular.svg |
| Filled file | ic_fluent_document_link_24_filled.svg |
| React components | DocumentLink24Regular, DocumentLink24Filled |
| License | MIT (© Microsoft Corporation) |