Crosshair icon
Download the Crosshair icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- target
- aim
- reticle
- crosshairs
- focus
- select
- precision
- center
Size
Stroke
Color
- Category
- general
- Styles
- Outline
- Component
- IconCrosshair
- License
- MIT · Paweł Kuna
- Files
-
outline/crosshair.svg
Code
Copy it the way you use it
crosshair.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="M4 8v-2a2 2 0 0 1 2 -2h2" />
<path d="M4 16v2a2 2 0 0 0 2 2h2" />
<path d="M16 4h2a2 2 0 0 1 2 2v2" />
<path d="M16 20h2a2 2 0 0 0 2 -2v-2" />
<path d="M9 12l6 0" />
<path d="M12 9l0 6" />
</svg> Use the Crosshair 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 { IconCrosshair } from '@tabler/icons-react';
<IconCrosshair size={24} stroke={2} />Read the React guideVue example
import { IconCrosshair } from '@tabler/icons-vue';
<IconCrosshair :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconCrosshair } from '@tabler/icons-svelte-runes';
<IconCrosshair size={24} stroke={2} />Read the Svelte guideRelated