Skip to content
tablericons

general

Slashes icon

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

  • double-slash
  • comment
  • code
  • separator
  • divide
Size
Stroke
Color
Download SVG

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

Category
general
Styles
Outline
Component
IconSlashes
License
MIT · Paweł Kuna

Code

Copy it the way you use it

slashes.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="M14 5l-10 14" />
  <path d="M20 5l-10 14" />
</svg>

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

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

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

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

Related

Related icons

See all 788 general icons