File 2 Icon
Free SVG icon from the Mage Icons collection. Download or copy for use in any project.
The File 2 icon is commonly used in file managers, document editors and upload areas. Available as a free SVG - copy the code or download directly.
img tag
<img src="https://proicons.com/icon/310119.svg" alt="File 2 icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/310119.svg" alt="File 2 icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/310119.svg" alt="File 2 icon" :width="24" :height="24" />
CSS background
.icon-file-2 {
background-image: url('https://proicons.com/icon/310119.svg');
background-size: contain;
background-repeat: no-repeat;
width: 24px;
height: 24px;
display: inline-block;
}
SVG markup
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M20.68 7.0141C20.4579 6.55005 20.145 6.13522 19.7599 5.7941L16.7599 3.0741C16.0996 2.46885 15.2612 2.09352 14.3699 2.00412H8.21002C7.54758 1.97603 6.88611 2.07995 6.26422 2.30988C5.64233 2.53981 5.07243 2.89115 4.58759 3.34342C4.10275 3.79569 3.71268 4.33985 3.44012 4.94428C3.16757 5.54871 3.01791 6.20132 2.99994 6.86411V17.1641C3.03531 18.1636 3.36972 19.1296 3.95978 19.9371C4.54984 20.7446 5.36849 21.3567 6.31 21.6941C6.92241 21.9257 7.57607 22.0278 8.22992 21.9941H15.79C16.4524 22.0222 17.1138 21.9183 17.7357 21.6883C18.3575 21.4584 18.9276 21.1071 19.4124 20.6548C19.8973 20.2026 20.2873 19.6584 20.5599 19.0539C20.8324 18.4495 20.982 17.7969 20.9999 17.1341V8.56412C21.0048 8.03057 20.8957 7.50212 20.68 7.0141ZM7.67999 6.61411H10.94C11.2052 6.61411 11.4595 6.71948 11.647 6.90702C11.8346 7.09455 11.94 7.34889 11.94 7.61411C11.94 7.87933 11.8346 8.1337 11.647 8.32123C11.4595 8.50877 11.2052 8.61411 10.94 8.61411H7.67999C7.41478 8.61411 7.16038 8.50877 6.97284 8.32123C6.7853 8.1337 6.67999 7.87933 6.67999 7.61411C6.67999 7.34889 6.7853 7.09455 6.97284 6.90702C7.16038 6.71948 7.41478 6.61411 7.67999 6.61411ZM16.3799 17.3241H7.67999C7.41478 17.3241 7.16038 17.2188 6.97284 17.0312C6.7853 16.8437 6.67999 16.5893 6.67999 16.3241C6.67999 16.0589 6.7853 15.8045 6.97284 15.617C7.16038 15.4295 7.41478 15.3241 7.67999 15.3241H16.3799C16.6183 15.3581 16.8364 15.4769 16.9942 15.6588C17.152 15.8407 17.239 16.0733 17.239 16.3141C17.239 16.5549 17.152 16.7876 16.9942 16.9695C16.8364 17.1513 16.6183 17.2701 16.3799 17.3041V17.3241ZM16.3799 12.9741H7.67999C7.41478 12.9741 7.16038 12.8688 6.97284 12.6812C6.7853 12.4937 6.67999 12.2393 6.67999 11.9741C6.67999 11.7089 6.7853 11.4545 6.97284 11.267C7.16038 11.0795 7.41478 10.9741 7.67999 10.9741H16.3799C16.6452 10.9741 16.8996 11.0795 17.0871 11.267C17.2746 11.4545 17.3799 11.7089 17.3799 11.9741C17.3799 12.2393 17.2746 12.4937 17.0871 12.6812C16.8996 12.8688 16.6452 12.9741 16.3799 12.9741ZM16.06 7.40412C15.9173 7.40544 15.7758 7.37849 15.6436 7.3248C15.5114 7.27112 15.3912 7.19176 15.2899 7.09134C15.1885 6.99092 15.1081 6.87141 15.0532 6.73972C14.9983 6.60803 14.9699 6.46677 14.9699 6.3241V3.67411C15.6299 3.83411 18.1999 6.4741 18.7599 6.9141C18.9256 7.05362 19.0674 7.21912 19.18 7.40412H16.06Z" fill="black"/> </svg>
File 2 in other icon packs
Copied!