Underline icon
Download the Underline icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- text
- formatting
- editor
- typography
- font
- underscore
- emphasis
Size
Stroke
Color
- Category
- general
- Styles
- Outline
- Component
- IconUnderline
- License
- MIT · Paweł Kuna
- Files
-
outline/underline.svg
Code
Copy it the way you use it
underline.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="M7 5v5a5 5 0 0 0 10 0v-5" />
<path d="M5 19h14" />
</svg> Use the Underline 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 { IconUnderline } from '@tabler/icons-react';
<IconUnderline size={24} stroke={2} />Read the React guideVue example
import { IconUnderline } from '@tabler/icons-vue';
<IconUnderline :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconUnderline } from '@tabler/icons-svelte-runes';
<IconUnderline size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related