- Category
- shape
- Styles
- Outline
- Component
- IconSquareToggleHorizontal
- License
- MIT · Paweł Kuna
Square Toggle Horizontal icon
Download the Square Toggle Horizontal icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- toggle
- switch
- swap
- split
- duplicate
- clone
- compare
- horizontal
- square
- box
Size
Stroke
Color
Code
Copy it the way you use it
square-toggle-horizontal.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="M22 12h-20" />
<path d="M4 14v-8a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v8" />
<path d="M18 20a2 2 0 0 0 2 -2" />
<path d="M4 18a2 2 0 0 0 2 2" />
<path d="M14 20l-4 0" />
</svg> Use the Square Toggle Horizontal 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 { IconSquareToggleHorizontal } from '@tabler/icons-react';
<IconSquareToggleHorizontal size={24} stroke={2} />Read the React guideVue example
import { IconSquareToggleHorizontal } from '@tabler/icons-vue';
<IconSquareToggleHorizontal :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconSquareToggleHorizontal } from '@tabler/icons-svelte-runes';
<IconSquareToggleHorizontal size={24} stroke={2} />Read the Svelte guideRelated