Document Border icon
Used to represent decoration options for documents. The Document Border 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 Border 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 { DocumentBorder24Regular, DocumentBorder24Filled } from "@fluentui/react-icons";
export function Example() {
return <DocumentBorder24Regular aria-label="Document Border" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_document_border_24_regular.svg" width="24" height="24" alt="Document Border"> 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="M7.25 2C5.45507 2 4 3.45507 4 5.25V18.75C4 20.5449 5.45507 22 7.25 22H16.75C18.5449 22 20 20.5449 20 18.75V5.25C20 3.45507 18.5449 2 16.75 2H7.25ZM5.5 5.25C5.5 4.2835 6.2835 3.5 7.25 3.5H16.75C17.7165 3.5 18.5 4.2835 18.5 5.25V18.75C18.5 19.7165 17.7165 20.5 16.75 20.5H7.25C6.2835 20.5 5.5 19.7165 5.5 18.75V5.25ZM8 5C7.44772 5 7 5.44771 7 6V18C7 18.5523 7.44772 19 8 19H16C16.5523 19 17 18.5523 17 18V6C17 5.44771 16.5523 5 16 5H8ZM8.5 17.5V6.5H15.5V17.5H8.5Z" 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_border_24_regular.svg";Details
| Name | Document Border |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_document_border_24_regular.svg |
| Filled file | ic_fluent_document_border_24_filled.svg |
| React components | DocumentBorder24Regular, DocumentBorder24Filled |
| License | MIT (© Microsoft Corporation) |