ICONYZ
English
Smoke Alarm icon from Boxicons

Smoke Alarm icon

boxicons:smoke-alarm

The Smoke Alarm icon (boxicons:smoke-alarm) 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
Tags
smokealarm
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="M21 2H3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h2.22l.62 2.48A2 2 0 0 0 7.78 12h8.44c.92 0 1.72-.62 1.94-1.52L18.78 8H21c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1m-4.78 9v-1zm0-1H7.78l-.5-2h9.44zM20 6H4V4h16zm-8 8c0 1.76-.41 2.59-.89 3.55C10.59 18.59 10 19.76 10 22h2c0-1.76.41-2.59.89-3.55C13.41 17.41 14 16.24 14 14zm-4 0c0 1.76-.41 2.59-.89 3.55C6.59 18.59 6 19.76 6 22h2c0-1.76.41-2.59.89-3.55C9.41 17.41 10 16.24 10 14zm7.11 3.55C14.59 18.59 14 19.76 14 22h2c0-1.76.41-2.59.89-3.55C17.41 17.41 18 16.24 18 14h-2c0 1.76-.41 2.59-.89 3.55"/></svg>

How to use the Smoke Alarm icon

React

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

<Icon icon="boxicons:smoke-alarm" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:smoke-alarm" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:smoke-alarm" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:smoke-alarm"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/smoke-alarm.svg" alt="Smoke Alarm icon" width="24" height="24">

Related icons in Boxicons

Smoke Alarm icon FAQ

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

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

How do I add the Smoke Alarm icon to a web page?

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

Browse all Boxicons →