Skip to content
tablericons
Category
general
Styles
Outline
Component
IconSvg

general

SVG icon

Download the SVG icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.

  • file
  • format
  • extension
  • vector
  • graphics
  • image
  • filetype
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Code

Copy it the way you use it

svg.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="M21 8h-2a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2v-4h-1" />
  <path d="M7 8h-3a1 1 0 0 0 -1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-3" />
  <path d="M10 8l1.5 8h1l1.5 -8" />
</svg>

Use the SVG 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 { IconSvg } from '@tabler/icons-react';

<IconSvg size={24} stroke={2} />
Read the React guide
Vue example
import { IconSvg } from '@tabler/icons-vue';

<IconSvg :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconSvg } from '@tabler/icons-svelte-runes';

<IconSvg size={24} stroke={2} />
Read the Svelte guide

Related

Related icons

See all 788 general icons