File icon
radix-icons:file
The File icon (radix-icons:file) is a free SVG icon from the Radix Icons set by WorkOS. It is drawn on a 15 × 15 grid. Radix Icons 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.
- Icon set
- Radix Icons
- Author
- WorkOS
- License
- MIT
- Size
- 15 × 15
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M8.598 1.01a.5.5 0 0 1 .256.136l4 4A.5.5 0 0 1 13 5.5v7a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 2 12.5v-10A1.5 1.5 0 0 1 3.5 1h5zM3.5 2a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V6H8.5a.5.5 0 0 1-.5-.5V2zM9 5h2.293L9 2.707z"/></svg>How to use the File icon
React
import { Icon } from "@iconify/react";
<Icon icon="radix-icons:file" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="radix-icons:file" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="radix-icons:file" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[radix-icons--file]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/radix-icons -->
<div class="i-radix-icons:file"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="radix-icons:file"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/radix-icons/file.svg" alt="File icon" width="24" height="24">Related icons in Radix Icons
File icon in other icon sets
File icon FAQ
Is the File icon free for commercial use?
Yes. Radix Icons are released under the MIT 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="radix-icons: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/radix-icons/file.svg" alt="File icon">, or paste the SVG code inline to style it with CSS.