ICONYZ
English
Mosque icon from Boxicons

Mosque icon

boxicons:mosque

The Mosque icon (boxicons:mosque) 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="M19 2c-1.65 0-3 1.35-3 3v3.59c0-1.67-.84-3.26-2.32-4.28l-3.12-2.14c-.34-.23-.79-.23-1.13 0L6.31 4.31c-1.6 1.1-2.43 2.88-2.29 4.68H2.99c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V5c0-1.65-1.35-3-3-3Zm-3 7h-.03c0-.1.03-.21.03-.31zM7.45 5.96L10 4.21l2.55 1.75c1.04.72 1.56 1.88 1.42 3.04H6.03c-.14-1.16.38-2.32 1.42-3.04M16 11v1H4v-1zm-3.5 4S11 16 11 18v2H9v-2c0-2-1.5-3-1.5-3S6 16 6 18v2H4v-6h12v6h-2v-2c0-2-1.5-3-1.5-3m7.5 5h-2V8h2zM18 6V5c0-.55.45-1 1-1s1 .45 1 1v1z"/></svg>

How to use the Mosque icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Mosque icon in other icon sets

Mosque icon FAQ

Is the Mosque 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 Mosque icon in React?

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

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

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

Browse all Boxicons →