ICONYZ
English
File Js icon from BoxIcons v2 Solid

File Js icon

bxs:file-js

The File Js icon (bxs:file-js) is a free SVG icon from the BoxIcons v2 Solid set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 Solid icons are released under the MIT 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
BoxIcons v2 Solid
Author
Boxicons
License
MIT
Size
24 × 24
Tags
filejs
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-2.745 14.186c0 1.345-.644 1.814-1.681 1.814c-.245 0-.567-.042-.777-.112l.119-.861c.147.049.336.084.546.084c.448 0 .729-.203.729-.938v-2.97h1.064zm2.043 1.807c-.539 0-1.071-.141-1.337-.287l.217-.883c.287.147.729.294 1.184.294c.491 0 .749-.203.749-.511c0-.295-.224-.463-.791-.666c-.784-.272-1.295-.707-1.295-1.394c0-.806.672-1.422 1.786-1.422c.533 0 .925.112 1.205.238l-.238.861c-.189-.091-.525-.224-.987-.224s-.687.21-.687.455c0 .301.267.435.875.665c.834.309 1.226.742 1.226 1.408c-.002.793-.61 1.466-1.907 1.466M14 9h-1V4l5 5z"/></svg>

How to use the File Js icon

React

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

<Icon icon="bxs:file-js" width="24" />

Vue

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

<template>
  <Icon icon="bxs:file-js" width="24" />
</template>

Svelte

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

<Icon icon="bxs:file-js" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bxs:file-js"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bxs/file-js.svg" alt="File Js icon" width="24" height="24">

Related icons in BoxIcons v2 Solid

File Js icon in other icon sets

File Js icon FAQ

Is the File Js icon free for commercial use?

Yes. BoxIcons v2 Solid icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the File Js icon in React?

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

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

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

Browse all BoxIcons v2 Solid icons →