ICONYZ
English
Constraint icon from Carbon

Constraint icon

carbon:constraint

The Constraint icon (carbon:constraint) 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
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="M27 13V5h-4V3h4c1.103 0 2 .898 2 2v8c0 1.523.88 2 2 2v2c-1.12 0-2 .45-2 2v8c0 1.103-.897 2-2 2h-4v-2h4v-8c0-1.684.88-2.564 2-2.858v-.268c-1.12-.294-2-1.19-2-2.874m-15-1h8v8h-8zm-7 1V5h4V3H5c-1.103 0-2 .898-2 2v8c0 1.523-.88 2-2 2v2c1.12 0 2 .45 2 2v8c0 1.103.897 2 2 2h4v-2H5v-8c0-1.684-.88-2.564-2-2.858v-.268c1.12-.294 2-1.19 2-2.874"/></svg>

How to use the Constraint icon

React

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

<Icon icon="carbon:constraint" width="24" />

Vue

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

<template>
  <Icon icon="carbon:constraint" width="24" />
</template>

Svelte

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

<Icon icon="carbon:constraint" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="carbon:constraint"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/carbon/constraint.svg" alt="Constraint icon" width="24" height="24">

Constraint icon in other icon sets

Constraint icon FAQ

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

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

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

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

Browse all Carbon icons →