Encryption icon
carbon:encryption
The Encryption icon (carbon:encryption) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M29 21.278V19a4 4 0 0 0-8 0v2.278A2 2 0 0 0 20 23v5a2.003 2.003 0 0 0 2 2h6a2.003 2.003 0 0 0 2-2v-5a2 2 0 0 0-1-1.722M25 17a2.003 2.003 0 0 1 2 2v2h-4v-2a2.003 2.003 0 0 1 2-2m-3 11v-5h6v5ZM2 2h2v4H2zm12 0h2v4h-2zm4 0h2v4h-2zM2 8h2v8H2zm0 10h2v8H2zm12 0h2v8h-2zM6 8h2v8H6zm12 0h2v6h-2zm-8 18H8a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2m-2-6v4h2v-4Zm6-4h-2a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2m-2-6v4h2v-4Zm-2-4H8a2 2 0 0 1-2-2V2h2v2h2V2h2v2a2 2 0 0 1-2 2"/></svg>How to use the Encryption icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:encryption" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:encryption" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:encryption" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--encryption]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:encryption"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:encryption"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/encryption.svg" alt="Encryption icon" width="24" height="24">Encryption icon in other icon sets
Encryption icon FAQ
Is the Encryption icon free for commercial use?
Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Encryption icon in React?
Install @iconify/react and render <Icon icon="carbon:encryption" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Encryption icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/encryption.svg" alt="Encryption icon">, or paste the SVG code inline to style it with CSS.