File icon
zmdi:file
The File icon (zmdi:file) is a free SVG icon from the Material Design Iconic Font set by MDI Community. It is drawn on a 344 × 432 grid. Material Design Iconic Font icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Material Design Iconic Font
- Author
- MDI Community
- License
- OFL-1.1
- Size
- 344 × 432
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="344" height="432" viewBox="0 0 344 432"><path fill="currentColor" d="M43 3h170l128 128v256q0 17-12.5 29.5T299 429H42q-17 0-29.5-12.5T0 387V45q0-17 12.5-29.5T43 3m149 149h117L192 35z"/></svg>How to use the File icon
React
import { Icon } from "@iconify/react";
<Icon icon="zmdi:file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="zmdi:file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="zmdi:file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[zmdi--file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/zmdi -->
<div class="i-zmdi:file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="zmdi:file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/zmdi/file.svg" alt="File icon" width="24" height="24">Related icons in Material Design Iconic Font
File icon in other icon sets
File icon FAQ
Is the File icon free for commercial use?
Yes. Material Design Iconic Font icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the File icon in React?
Install @iconify/react and render <Icon icon="zmdi:file" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/zmdi/file.svg" alt="File icon">, or paste the SVG code inline to style it with CSS.