ICONYZ
English
If Action icon from Carbon

If Action icon

carbon:if-action

The If Action icon (carbon:if-action) 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.

Icon set
Carbon
Author
IBM
License
Apache-2.0
Size
32 × 32
Category
Organization
Tags
ifaction
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M21 2H11c-5 0-9 4-9 9v10c0 5 4 9 9 9h10c5 0 9-4 9-9V11c0-5-4-9-9-9m7 19c0 3.9-3.1 7-7 7H11c-3.9 0-7-3.1-7-7V11c0-3.9 3.1-7 7-7h10c3.9 0 7 3.1 7 7zM9.876 22v-1.823h1.582v-8.358H9.876V9.997h5.45v1.822h-1.598v8.358h1.599V22zm8.083-7.264h-1.324V13h1.324v-1.267c0-1.582.86-2.459 2.476-2.459H22v1.754h-1.84V13H22v1.736h-1.84V22h-2.2z"/></svg>

How to use the If Action icon

React

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

<Icon icon="carbon:if-action" width="24" />

Vue

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

<template>
  <Icon icon="carbon:if-action" width="24" />
</template>

Svelte

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

<Icon icon="carbon:if-action" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--if-action]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:if-action"></div>

Web component

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

<iconify-icon icon="carbon:if-action"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/carbon/if-action.svg" alt="If Action icon" width="24" height="24">

Related icons in Carbon

If Action icon FAQ

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

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

How do I add the If Action icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/if-action.svg" alt="If Action icon">, or paste the SVG code inline to style it with CSS.

Browse all Carbon icons →