ICONYZ
English
Mask icon from Boxicons

Mask icon

boxicons:mask

The Mask icon (boxicons:mask) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Author
Boxicons
License
MIT
Size
24 × 24
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="M18 18h-1.64c-1.17 0-2.28-.56-2.98-1.49c-.66-.88-2.1-.88-2.76 0A3.76 3.76 0 0 1 7.64 18H6c-2.21 0-4-1.79-4-4V9c0-1.65 1.35-3 3-3h14c1.65 0 3 1.35 3 3v5c0 2.21-1.79 4-4 4m-6-4.18c1.18 0 2.27.54 2.98 1.49c.32.43.84.69 1.38.69H18c1.1 0 2-.9 2-2V9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v5c0 1.1.9 2 2 2h1.64c.54 0 1.06-.26 1.38-.69A3.69 3.69 0 0 1 12 13.82"/><path fill="currentColor" d="M7.5 10a2.5 1.5 0 1 0 0 3a2.5 1.5 0 1 0 0-3m9 0a2.5 1.5 0 1 0 0 3a2.5 1.5 0 1 0 0-3"/></svg>

How to use the Mask icon

React

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

<Icon icon="boxicons:mask" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:mask" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:mask" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--mask]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:mask"></div>

Web component

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

<iconify-icon icon="boxicons:mask"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/mask.svg" alt="Mask icon" width="24" height="24">

Related icons in Boxicons

Mask icon in other icon sets

Mask icon FAQ

Is the Mask icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Mask icon in React?

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

How do I add the Mask icon to a web page?

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

Browse all Boxicons →