Brackets icon
hugeicons:brackets
The Brackets icon (hugeicons:brackets) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- bracket
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M16 21c.93 0 1.395 0 1.776-.102a3 3 0 0 0 2.122-2.122C20 18.396 20 17.93 20 17V7c0-.93 0-1.395-.102-1.776a3 3 0 0 0-2.122-2.122C17.396 3 16.93 3 16 3M8 21c-.93 0-1.395 0-1.776-.102a3 3 0 0 1-2.122-2.122C4 18.396 4 17.93 4 17V7c0-.93 0-1.395.102-1.776a3 3 0 0 1 2.122-2.122C6.605 3 7.07 3 8 3"/></svg>How to use the Brackets icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:brackets" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:brackets" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:brackets" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--brackets]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:brackets"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:brackets"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/brackets.svg" alt="Brackets icon" width="24" height="24">Brackets icon in other icon sets
Brackets icon FAQ
Is the Brackets icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Brackets icon in React?
Install @iconify/react and render <Icon icon="hugeicons:brackets" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Brackets icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/brackets.svg" alt="Brackets icon">, or paste the SVG code inline to style it with CSS.