File Line icon
ri:file-line
The File Line icon (ri:file-line) is a free SVG icon from the Remix Icon set by Remix Design. It is drawn on a 24 × 24 grid. Remix Icon icons are released under the Apache 2.0 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
- Remix Icon
- Author
- Remix Design
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Document
- Tags
- fileline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9 2.003V2h10.998C20.55 2 21 2.455 21 2.992v18.016a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 20.993V8zM5.83 8H9V4.83zM11 4v5a1 1 0 0 1-1 1H5v10h14V4z"/></svg>How to use the File Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="ri:file-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ri:file-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ri:file-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ri--file-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ri -->
<div class="i-ri:file-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ri:file-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ri/file-line.svg" alt="File Line icon" width="24" height="24">Related icons in Remix Icon
file-2-fill
file-2-line
file-3-fill
file-3-line
file-4-fill
file-4-line
file-add-fill
file-add-line
file-ai-2-fill
file-ai-2-line
file-ai-fill
file-ai-line
file-chart-2-fill
file-chart-2-line
file-chart-fill
file-chart-line
file-check-fill
file-check-line
file-close-fill
file-close-line
file-cloud-fill
file-cloud-line
file-code-fill
file-code-line
File Line icon in other icon sets
File Line icon FAQ
Is the File Line icon free for commercial use?
Yes. Remix Icon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the File Line icon in React?
Install @iconify/react and render <Icon icon="ri:file-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ri/file-line.svg" alt="File Line icon">, or paste the SVG code inline to style it with CSS.