file icon
file from Unicons by Iconscout · Line · File And Folder · Apache-2.0 Free for personal and commercial use.
- Name
- file
- Set
- Unicons
- Style
- Line
- Category
- File And Folder
- Viewbox
- 24×24
- License
- Apache 2.0
The same icon in other sets
fileAkar Iconsfile-filledAnt Design IconsfileBootstrap IconsfileBoxIcons v2fileBoxIcons v2 SolidfileCatppuccin IconsfileCodiconsfile-fillEva IconsfileFont Awesome 6 RegularfileFont Awesome 6 SolidfileFont Awesome RegularfileFont Awesome SolidfileFeather Iconsfile-outlineFlowbite Iconsfilecss.ggfileJam IconsfileLine AwesomefileMaterial Line IconsfileLucidefileMage IconsfileMajesticonsfileMaterial Design Iconsfile-fillMingCute IconfileMyna UI Icons
More file and folder icons from Unicons
booksclipboardclipboard-altclipboard-blankclipboard-notescopycopy-altcopy-landscapedocument-infofile-altfile-blankfile-block-altfile-bookmark-altfile-checkfile-check-altfile-contractfile-contract-dollarfile-copy-altfile-downloadfile-download-altfile-edit-altfile-exclamationfile-exclamation-altfile-export
Use the file icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20 8.94a1.3 1.3 0 0 0-.06-.27v-.09a1 1 0 0 0-.19-.28l-6-6a1 1 0 0 0-.28-.19h-.09L13.06 2H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3zm-6-3.53L16.59 8H14ZM18 19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v5a1 1 0 0 0 1 1h5Z"/></svg>
React
import type { SVGProps } from "react";
export function UilFile(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20 8.94a1.3 1.3 0 0 0-.06-.27v-.09a1 1 0 0 0-.19-.28l-6-6a1 1 0 0 0-.28-.19h-.09L13.06 2H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3zm-6-3.53L16.59 8H14ZM18 19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v5a1 1 0 0 0 1 1h5Z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20 8.94a1.3 1.3 0 0 0-.06-.27v-.09a1 1 0 0 0-.19-.28l-6-6a1 1 0 0 0-.28-.19h-.09L13.06 2H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3zm-6-3.53L16.59 8H14ZM18 19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v5a1 1 0 0 0 1 1h5Z"/></svg> </template>
CSS
.icon-file {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%208.94a1.3%201.3%200%200%200-.06-.27v-.09a1%201%200%200%200-.19-.28l-6-6a1%201%200%200%200-.28-.19h-.09L13.06%202H7a3%203%200%200%200-3%203v14a3%203%200%200%200%203%203h10a3%203%200%200%200%203-3zm-6-3.53L16.59%208H14ZM18%2019a1%201%200%200%201-1%201H7a1%201%200%200%201-1-1V5a1%201%200%200%201%201-1h5v5a1%201%200%200%200%201%201h5Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%208.94a1.3%201.3%200%200%200-.06-.27v-.09a1%201%200%200%200-.19-.28l-6-6a1%201%200%200%200-.28-.19h-.09L13.06%202H7a3%203%200%200%200-3%203v14a3%203%200%200%200%203%203h10a3%203%200%200%200%203-3zm-6-3.53L16.59%208H14ZM18%2019a1%201%200%200%201-1%201H7a1%201%200%200%201-1-1V5a1%201%200%200%201%201-1h5v5a1%201%200%200%200%201%201h5Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/uil/file.svg?color=%231a73e8&size=48