import { Document } from "fmicon-react";
<Document size={24} variant="glass" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Content
What is the Document Icon?
The document icon is a single page with a folded top corner, the standard sign for a file or written document. Use it to represent a file in a list, a new blank page or an attachment, especially when the file type is unknown or does not matter to the task in hand.
The dog-eared page goes back to early desktop interfaces, where the folded corner separated documents from plain rectangles such as windows or cards. It reads as a paper icon for anything written, printed or saved. A page with lines of text suggests readable content, so the blank version works better for a generic or new file. Folders hold documents, and a clipboard suggests a form or checklist rather than a single file.
When to Use the Document Icon
- File manager list: the generic file type for formats without a dedicated icon, like unknown extensions.
- Writing app home screen: a New document tile that creates a blank page ready for typing.
- Chat message: an attachment chip showing the file name and size below the sender's text.
- Developer portal sidebar: a docs icon beside the link to the API reference pages.
The Document Icon in Glass Style
Glass icons have built-in gradients, highlights and a frosted layer, so they look like small 3D objects. They keep their own colours and ship in separate tones for light and dark backgrounds.
Best for: app tiles, hero sections, feature highlights and anywhere an icon is the star.
The same icon also comes in linear, outline, bold, bulk, twotone, broken and duotone. See every icon in this look on the free glass icons page.
How to Use the Document Icon
- Customise it. Glass is a filled style, so pick a size on the left; stroke weight doesn't apply.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
DocumentIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="New document". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Document Icon
- Add a small extension label such as PDF or CSV under the page when people pick between file types, rather than drawing separate icons.
- Keep the folded corner on the top right; flipping it to the left makes the page look mirrored or broken.
- In empty file lists, a large linear document with one short line of text reads calmer than a bold, filled page.
Icons That Work Well with Document
Browse all content iconsDocument Icon FAQ
It means a file or document. The folded corner shows a sheet of paper, which is how computers have shown files since the earliest graphical desktops. A blank page usually stands for a generic or new file, while lines on the page suggest written content.
Use the blank page for generic files, new documents and attachments of any type. Use the page with lines when the content is readable text, such as notes, articles or reports. Both are recognised, so choose by whether the file's contents matter in that context.
Yes. The document icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.