Document Margins icon
Used to represent file margins and spacing. The Document Margins 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 Margins 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 { DocumentMargins24Regular, DocumentMargins24Filled } from "@fluentui/react-icons";
export function Example() {
return <DocumentMargins24Regular aria-label="Document Margins" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_document_margins_24_regular.svg" width="24" height="24" alt="Document Margins"> 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="M4 4.25C4 3.00736 5.00736 2 6.25 2H17.75C18.9926 2 20 3.00736 20 4.25V19.75C20 20.9926 18.9926 22 17.75 22H6.25C5.00736 22 4 20.9926 4 19.75V4.25ZM17 20.5H17.75C18.1642 20.5 18.5 20.1642 18.5 19.75V4.25C18.5 3.83579 18.1642 3.5 17.75 3.5H17V6.25C17 6.66421 16.6642 7 16.25 7C15.8358 7 15.5 6.66421 15.5 6.25V3.5H8.5V6.25C8.5 6.66421 8.16421 7 7.75 7C7.33579 7 7 6.66421 7 6.25V3.5H6.25C5.83579 3.5 5.5 3.83579 5.5 4.25V19.75C5.5 20.1642 5.83579 20.5 6.25 20.5H7V17.75C7 17.3358 7.33579 17 7.75 17C8.16421 17 8.5 17.3358 8.5 17.75V20.5H15.5V17.75C15.5 17.3358 15.8358 17 16.25 17C16.6642 17 17 17.3358 17 17.75V20.5ZM7.75 8.5C8.16421 8.5 8.5 8.83579 8.5 9.25V14.75C8.5 15.1642 8.16421 15.5 7.75 15.5C7.33579 15.5 7 15.1642 7 14.75V9.25C7 8.83579 7.33579 8.5 7.75 8.5ZM17 9.25C17 8.83579 16.6642 8.5 16.25 8.5C15.8358 8.5 15.5 8.83579 15.5 9.25V14.75C15.5 15.1642 15.8358 15.5 16.25 15.5C16.6642 15.5 17 15.1642 17 14.75V9.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_margins_24_regular.svg";Details
| Name | Document Margins |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_document_margins_24_regular.svg |
| Filled file | ic_fluent_document_margins_24_filled.svg |
| React components | DocumentMargins24Regular, DocumentMargins24Filled |
| License | MIT (© Microsoft Corporation) |