- Category
- development
- Styles
- Outline
- Component
- IconSourceCode
- License
- MIT · Paweł Kuna
- Files
-
outline/source-code.svg
Source Code icon
Download the Source Code icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- code
- html
- brackets
- programming
- development
- source
Size
Stroke
Color
Code
Copy it the way you use it
source-code.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.5 4h2.5a3 3 0 0 1 3 3v10a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-5" />
<path d="M6 5l-2 2l2 2" />
<path d="M10 9l2 -2l-2 -2" />
</svg> Use the Source Code 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 { IconSourceCode } from '@tabler/icons-react';
<IconSourceCode size={24} stroke={2} />Read the React guideVue example
import { IconSourceCode } from '@tabler/icons-vue';
<IconSourceCode :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconSourceCode } from '@tabler/icons-svelte-runes';
<IconSourceCode size={24} stroke={2} />Read the Svelte guideRelated