- Category
- general
- Styles
- Outline
- Component
- IconSeparator
- License
- MIT · Paweł Kuna
- Files
-
outline/separator.svg
Separator icon
Download the Separator icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- divider
- hr
- line
- horizontal-rule
- separation
Size
Stroke
Color
Code
Copy it the way you use it
separator.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="M3 12l0 .01" />
<path d="M7 12l10 0" />
<path d="M21 12l0 .01" />
</svg> Use the Separator 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 { IconSeparator } from '@tabler/icons-react';
<IconSeparator size={24} stroke={2} />Read the React guideVue example
import { IconSeparator } from '@tabler/icons-vue';
<IconSeparator :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconSeparator } from '@tabler/icons-svelte-runes';
<IconSeparator size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related