Mask icon
bx:mask
The Mask icon (bx:mask) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- bx mask
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 6H5C3.346 6 2 7.346 2 9v5c0 2.206 1.794 4 4 4h1.637c1.166 0 2.28-.557 2.981-1.491c.66-.879 2.104-.88 2.764.001A3.74 3.74 0 0 0 16.363 18H18c2.206 0 4-1.794 4-4V9c0-1.654-1.346-3-3-3m1 8c0 1.103-.897 2-2 2h-1.637c-.54 0-1.057-.259-1.382-.69c-.71-.948-1.797-1.492-2.981-1.492s-2.271.544-2.981 1.491A1.74 1.74 0 0 1 7.637 16H6c-1.103 0-2-.897-2-2V9c0-.551.448-1 1-1h14c.552 0 1 .449 1 1z"/><ellipse cx="7.5" cy="11.5" fill="currentColor" rx="2.5" ry="1.5"/><ellipse cx="16.5" cy="11.5" fill="currentColor" rx="2.5" ry="1.5"/></svg>How to use the Mask icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:mask" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:mask" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:mask" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--mask]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:mask"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:mask"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/mask.svg" alt="Mask icon" width="24" height="24">Mask icon in other icon sets
Mask icon FAQ
Is the Mask icon free for commercial use?
Yes. BoxIcons v2 icons 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="bx: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/bx/mask.svg" alt="Mask icon">, or paste the SVG code inline to style it with CSS.