- Category
- general
- Styles
- Outline
- Component
- IconTxt
- License
- MIT · Paweł Kuna
- Files
-
outline/txt.svg
Txt icon
Download the Txt icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- text
- file
- plain-text
- document
- format
- extension
- txt-file
Size
Stroke
Color
Code
Copy it the way you use it
txt.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 8h4" />
<path d="M5 8v8" />
<path d="M17 8h4" />
<path d="M19 8v8" />
<path d="M10 8l4 8" />
<path d="M10 16l4 -8" />
</svg> Use the Txt 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 { IconTxt } from '@tabler/icons-react';
<IconTxt size={24} stroke={2} />Read the React guideVue example
import { IconTxt } from '@tabler/icons-vue';
<IconTxt :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconTxt } from '@tabler/icons-svelte-runes';
<IconTxt size={24} stroke={2} />Read the Svelte guideRelated