ICONYZ
English
Mosque icon from Font Awesome 5 Solid

Mosque icon

fa-solid:mosque

The Mosque icon (fa-solid:mosque) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 640 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome 5 Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
640 × 512
Category
Religion, Buildings
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="512" viewBox="0 0 640 512"><path fill="currentColor" d="M0 480c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V160H0zm579.16-192c17.86-17.39 28.84-37.34 28.84-58.91c0-52.86-41.79-93.79-87.92-122.9c-41.94-26.47-80.63-57.77-111.96-96.22L400 0l-8.12 9.97c-31.33 38.45-70.01 69.76-111.96 96.22C233.79 135.3 192 176.23 192 229.09c0 21.57 10.98 41.52 28.84 58.91zM608 320H192c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h32v-64c0-17.67 14.33-32 32-32s32 14.33 32 32v64h64v-72c0-48 48-72 48-72s48 24 48 72v72h64v-64c0-17.67 14.33-32 32-32s32 14.33 32 32v64h32c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32M64 0S0 32 0 96v32h128V96c0-64-64-96-64-96"/></svg>

How to use the Mosque icon

React

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

<Icon icon="fa-solid:mosque" width="24" />

Vue

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

<template>
  <Icon icon="fa-solid:mosque" width="24" />
</template>

Svelte

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

<Icon icon="fa-solid:mosque" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa-solid:mosque"></iconify-icon>

HTML image

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

Mosque icon in other icon sets

Mosque icon FAQ

Is the Mosque icon free for commercial use?

Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Mosque icon in React?

Install @iconify/react and render <Icon icon="fa-solid: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/fa-solid/mosque.svg" alt="Mosque icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 5 Solid icons →