ICONYZ
English
Safe icon from Boxicons

Safe icon

boxicons:safe

The Safe icon (boxicons:safe) 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 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5 19V5h14v14z"/><path fill="currentColor" d="m15.79 6.79l-1.77 1.77c-.59-.35-1.28-.57-2.02-.57s-1.42.22-2.02.57L8.21 6.79L6.8 8.2l1.77 1.77c-.35.59-.57 1.28-.57 2.02s.22 1.42.57 2.02L6.8 15.78l1.41 1.41l1.77-1.77c.59.35 1.28.57 2.02.57s1.42-.22 2.02-.57l1.77 1.77l1.41-1.41l-1.77-1.77c.35-.59.57-1.28.57-2.02s-.22-1.42-.57-2.02L17.2 8.2zM12 14c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2"/></svg>

How to use the Safe icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Safe icon in other icon sets

Safe icon FAQ

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

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

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

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

Browse all Boxicons →