- Category
- general
- Styles
- Outline
- Component
- IconBrackets
- License
- MIT · Paweł Kuna
- Files
-
outline/brackets.svg
Brackets icon
Download the Brackets icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- square-brackets
- code
- array
- programming
- syntax
- punctuation
- list
- index
Size
Stroke
Color
Code
Copy it the way you use it
brackets.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8 4h-3v16h3" />
<path d="M16 4h3v16h-3" />
</svg> Use the Brackets icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconBrackets } from '@tabler/icons-react';
<IconBrackets size={24} stroke={2} />Read the React guideVue example
import { IconBrackets } from '@tabler/icons-vue';
<IconBrackets :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconBrackets } from '@tabler/icons-svelte-runes';
<IconBrackets size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related