file from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.

Name
file
Set
BoxIcons v2
Style
Regular
Viewbox
24×24
License
MIT
Aliases
bx-file

The same icon in other sets

Related icons in BoxIcons v2

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="M19.903 8.586a1 1 0 0 0-.196-.293l-6-6a1 1 0 0 0-.293-.196c-.03-.014-.062-.022-.094-.033a1 1 0 0 0-.259-.051C13.04 2.011 13.021 2 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-.021-.011-.04-.013-.062a1 1 0 0 0-.051-.259q-.014-.048-.033-.093M16.586 8H14V5.414zM6 20V4h6v5a1 1 0 0 0 1 1h5l.002 10z"/><path fill="currentColor" d="M8 12h8v2H8zm0 4h8v2H8zm0-8h2v2H8z"/></svg>

React

import type { SVGProps } from "react";

export function BxFile(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="M19.903 8.586a1 1 0 0 0-.196-.293l-6-6a1 1 0 0 0-.293-.196c-.03-.014-.062-.022-.094-.033a1 1 0 0 0-.259-.051C13.04 2.011 13.021 2 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-.021-.011-.04-.013-.062a1 1 0 0 0-.051-.259q-.014-.048-.033-.093M16.586 8H14V5.414zM6 20V4h6v5a1 1 0 0 0 1 1h5l.002 10z"/><path fill="currentColor" d="M8 12h8v2H8zm0 4h8v2H8zm0-8h2v2H8z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M19.903 8.586a1 1 0 0 0-.196-.293l-6-6a1 1 0 0 0-.293-.196c-.03-.014-.062-.022-.094-.033a1 1 0 0 0-.259-.051C13.04 2.011 13.021 2 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-.021-.011-.04-.013-.062a1 1 0 0 0-.051-.259q-.014-.048-.033-.093M16.586 8H14V5.414zM6 20V4h6v5a1 1 0 0 0 1 1h5l.002 10z"/><path fill="currentColor" d="M8 12h8v2H8zm0 4h8v2H8zm0-8h2v2H8z"/></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%22M19.903%208.586a1%201%200%200%200-.196-.293l-6-6a1%201%200%200%200-.293-.196c-.03-.014-.062-.022-.094-.033a1%201%200%200%200-.259-.051C13.04%202.011%2013.021%202%2013%202H6c-1.103%200-2%20.897-2%202v16c0%201.103.897%202%202%202h12c1.103%200%202-.897%202-2V9c0-.021-.011-.04-.013-.062a1%201%200%200%200-.051-.259q-.014-.048-.033-.093M16.586%208H14V5.414zM6%2020V4h6v5a1%201%200%200%200%201%201h5l.002%2010z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%2012h8v2H8zm0%204h8v2H8zm0-8h2v2H8z%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%22M19.903%208.586a1%201%200%200%200-.196-.293l-6-6a1%201%200%200%200-.293-.196c-.03-.014-.062-.022-.094-.033a1%201%200%200%200-.259-.051C13.04%202.011%2013.021%202%2013%202H6c-1.103%200-2%20.897-2%202v16c0%201.103.897%202%202%202h12c1.103%200%202-.897%202-2V9c0-.021-.011-.04-.013-.062a1%201%200%200%200-.051-.259q-.014-.048-.033-.093M16.586%208H14V5.414zM6%2020V4h6v5a1%201%200%200%200%201%201h5l.002%2010z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%2012h8v2H8zm0%204h8v2H8zm0-8h2v2H8z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/file.svg?color=%231a73e8&size=48