ICONYZ
English
File Outline icon from Basil

File Outline icon

basil:file-outline

The File Outline icon (basil:file-outline) is a free SVG icon from the Basil set by Craftwork. It is drawn on a 24 × 24 grid. Basil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Basil
Author
Craftwork
License
CC-BY-4.0
Size
24 × 24
Category
Files
Tags
fileoutline
Download SVG

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="M4.25 5A2.75 2.75 0 0 1 7 2.25h7.987a1.75 1.75 0 0 1 1.422.73l3.013 4.197c.213.298.328.655.328 1.02V19A2.75 2.75 0 0 1 17 21.75H7A2.75 2.75 0 0 1 4.25 19zM7 3.75c-.69 0-1.25.56-1.25 1.25v14c0 .69.56 1.25 1.25 1.25h10c.69 0 1.25-.56 1.25-1.25V8.897H15a.75.75 0 0 1-.75-.75V3.75z" clip-rule="evenodd"/></svg>

How to use the File Outline icon

React

import { Icon } from "@iconify/react";

<Icon icon="basil:file-outline" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="basil:file-outline" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="basil:file-outline" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[basil--file-outline]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/basil -->
<div class="i-basil:file-outline"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="basil:file-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/basil/file-outline.svg" alt="File Outline icon" width="24" height="24">

Related icons in Basil

File Outline icon in other icon sets

File Outline icon FAQ

Is the File Outline icon free for commercial use?

Yes. Basil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the File Outline icon in React?

Install @iconify/react and render <Icon icon="basil:file-outline" />, or use “Copy code” on this page to get a standalone React component.

How do I add the File Outline icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/basil/file-outline.svg" alt="File Outline icon">, or paste the SVG code inline to style it with CSS.

Browse all Basil icons →