softicons.dev

underline icon

Free underline SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<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="M6 4v6a6 6 0 0 0 12 0V4"/>
  <line x1="4" y1="21" x2="20" y2="21"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/underline.svg"
     width="24" height="24" alt="underline icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { UnderlineIcon } from "@softicons/react";

export default function Example() {
  return <UnderlineIcon size={24} strokeWidth={2} />;
}
<script setup>
import { UnderlineIcon } from "@softicons/vue";
</script>

<template>
  <UnderlineIcon :size="24" :stroke-width="2" />
</template>
import { UnderlineIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [UnderlineIconComponent],
  template: `<underline-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}