Upload File icon
duo-icons:upload-file
The Upload File icon (duo-icons:upload-file) is a free SVG icon from the Duoicons set by fernandcf. It is drawn on a 24 × 24 grid. Duoicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12 2v6.5a1.5 1.5 0 0 0 1.356 1.493L13.5 10H20v10a2 2 0 0 1-1.85 1.995L18 22H6a2 2 0 0 1-1.995-1.85L4 20V4a2 2 0 0 1 1.85-1.995L6 2z" class="duoicon-secondary-layer" opacity=".3"/><path fill="currentColor" fill-rule="evenodd" d="M14 2.043a2 2 0 0 1 .877.43l.123.113L19.414 7c.234.234.407.523.502.84l.04.16H14zm-2.707 9.13l-2.121 2.121a1 1 0 1 0 1.414 1.414l.414-.414V17a1 1 0 1 0 2 0v-2.706l.414.414a1 1 0 1 0 1.414-1.414l-2.12-2.121a1 1 0 0 0-1.415 0" class="duoicon-primary-layer"/></svg>How to use the Upload File icon
React
import { Icon } from "@iconify/react";
<Icon icon="duo-icons:upload-file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="duo-icons:upload-file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="duo-icons:upload-file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[duo-icons--upload-file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/duo-icons -->
<div class="i-duo-icons:upload-file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="duo-icons:upload-file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/duo-icons/upload-file.svg" alt="Upload File icon" width="24" height="24">Upload File icon in other icon sets
Upload File icon FAQ
Is the Upload File icon free for commercial use?
Yes. Duoicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Upload File icon in React?
Install @iconify/react and render <Icon icon="duo-icons:upload-file" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Upload File icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/duo-icons/upload-file.svg" alt="Upload File icon">, or paste the SVG code inline to style it with CSS.