# underline icon

Underline. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/underline

- Category: Text & formatting
- Use it for: underline, text underline, underlined, format underline
- Tags: underline, underscore, text, format, letter, u
- Family: bold, case-lower, case-sensitive, heading, heading-1, heading-2, heading-3, italic, letter-spacing, pilcrow, spell-check, strikethrough, subscript, superscript, text-color, text-size, text-size-decrease, text-size-increase, type, type-plus, type-x
- Component name: UnderlineIcon
- Added: 2026-10-14

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/underline.svg · PNG https://gentleface.com/png/line-round/16/underline.png · https://gentleface.com/png/line-round/32/underline.png · https://gentleface.com/png/line-round/48/underline.png
- line-soft: https://gentleface.com/svg/line-soft/16/underline.svg · PNG https://gentleface.com/png/line-soft/16/underline.png · https://gentleface.com/png/line-soft/32/underline.png · https://gentleface.com/png/line-soft/48/underline.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/underline.svg · PNG https://gentleface.com/png/line-sharp/16/underline.png · https://gentleface.com/png/line-sharp/32/underline.png · https://gentleface.com/png/line-sharp/48/underline.png
- solid-round: https://gentleface.com/svg/solid-round/16/underline.svg · PNG https://gentleface.com/png/solid-round/16/underline.png · https://gentleface.com/png/solid-round/32/underline.png · https://gentleface.com/png/solid-round/48/underline.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/underline.svg · PNG https://gentleface.com/png/solid-soft/16/underline.png · https://gentleface.com/png/solid-soft/32/underline.png · https://gentleface.com/png/solid-soft/48/underline.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/underline.svg · PNG https://gentleface.com/png/solid-sharp/16/underline.png · https://gentleface.com/png/solid-sharp/32/underline.png · https://gentleface.com/png/solid-sharp/48/underline.png

The SVG of every style: https://gentleface.com/icons/underline.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z"/></svg>
```

### React

```tsx
// Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline
import type { SVGProps } from 'react';

export function UnderlineIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/underline.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline. Takes the text color. */
.icon-underline {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#underline"/></svg>
```

### SwiftUI

```swift
// Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline
import SwiftUI

struct UnderlineIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 10.052, y: 9.895))
        p.addCurve(to: CGPoint(x: 10.561, y: 9.561), control1: CGPoint(x: 10.245, y: 9.818), control2: CGPoint(x: 10.414, y: 9.707))
        p.addCurve(to: CGPoint(x: 10.895, y: 9.052), control1: CGPoint(x: 10.707, y: 9.414), control2: CGPoint(x: 10.818, y: 9.245))
        p.addCurve(to: CGPoint(x: 11, y: 8.5), control1: CGPoint(x: 10.965, y: 8.875), control2: CGPoint(x: 11, y: 8.691))
        p.addLine(to: CGPoint(x: 11, y: 2.5))
        p.addCurve(to: CGPoint(x: 11.144, y: 2.144), control1: CGPoint(x: 11, y: 2.359), control2: CGPoint(x: 11.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 11.5, y: 2), control1: CGPoint(x: 11.241, y: 2.048), control2: CGPoint(x: 11.359, y: 2))
        p.addCurve(to: CGPoint(x: 11.856, y: 2.144), control1: CGPoint(x: 11.641, y: 2), control2: CGPoint(x: 11.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 12, y: 2.5), control1: CGPoint(x: 11.952, y: 2.241), control2: CGPoint(x: 12, y: 2.359))
        p.addLine(to: CGPoint(x: 12, y: 8.5))
        p.addCurve(to: CGPoint(x: 11.824, y: 9.42), control1: CGPoint(x: 12, y: 8.818), control2: CGPoint(x: 11.941, y: 9.125))
        p.addCurve(to: CGPoint(x: 11.268, y: 10.268), control1: CGPoint(x: 11.697, y: 9.741), control2: CGPoint(x: 11.512, y: 10.024))
        p.addCurve(to: CGPoint(x: 10.42, y: 10.824), control1: CGPoint(x: 11.024, y: 10.512), control2: CGPoint(x: 10.741, y: 10.697))
        p.addCurve(to: CGPoint(x: 9.5, y: 11), control1: CGPoint(x: 10.125, y: 10.941), control2: CGPoint(x: 9.818, y: 11))
        p.addLine(to: CGPoint(x: 6.5, y: 11))
        p.addCurve(to: CGPoint(x: 5.58, y: 10.824), control1: CGPoint(x: 6.182, y: 11), control2: CGPoint(x: 5.875, y: 10.941))
        p.addCurve(to: CGPoint(x: 4.732, y: 10.268), control1: CGPoint(x: 5.259, y: 10.697), control2: CGPoint(x: 4.976, y: 10.512))
        p.addCurve(to: CGPoint(x: 4.176, y: 9.42), control1: CGPoint(x: 4.488, y: 10.024), control2: CGPoint(x: 4.303, y: 9.741))
        p.addCurve(to: CGPoint(x: 4, y: 8.5), control1: CGPoint(x: 4.059, y: 9.125), control2: CGPoint(x: 4, y: 8.818))
        p.addLine(to: CGPoint(x: 4, y: 2.5))
        p.addCurve(to: CGPoint(x: 4.144, y: 2.144), control1: CGPoint(x: 4, y: 2.359), control2: CGPoint(x: 4.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 4.5, y: 2), control1: CGPoint(x: 4.241, y: 2.048), control2: CGPoint(x: 4.359, y: 2))
        p.addCurve(to: CGPoint(x: 4.856, y: 2.144), control1: CGPoint(x: 4.641, y: 2), control2: CGPoint(x: 4.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 5, y: 2.5), control1: CGPoint(x: 4.952, y: 2.241), control2: CGPoint(x: 5, y: 2.359))
        p.addLine(to: CGPoint(x: 5, y: 8.5))
        p.addCurve(to: CGPoint(x: 5.105, y: 9.052), control1: CGPoint(x: 5, y: 8.691), control2: CGPoint(x: 5.035, y: 8.875))
        p.addCurve(to: CGPoint(x: 5.439, y: 9.561), control1: CGPoint(x: 5.182, y: 9.245), control2: CGPoint(x: 5.293, y: 9.414))
        p.addCurve(to: CGPoint(x: 5.948, y: 9.895), control1: CGPoint(x: 5.586, y: 9.707), control2: CGPoint(x: 5.755, y: 9.818))
        p.addCurve(to: CGPoint(x: 6.5, y: 10), control1: CGPoint(x: 6.125, y: 9.965), control2: CGPoint(x: 6.309, y: 10))
        p.addLine(to: CGPoint(x: 9.5, y: 10))
        p.addCurve(to: CGPoint(x: 10.052, y: 9.895), control1: CGPoint(x: 9.691, y: 10), control2: CGPoint(x: 9.875, y: 9.965))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.856, y: 12.144))
        p.addCurve(to: CGPoint(x: 13, y: 12.5), control1: CGPoint(x: 12.952, y: 12.241), control2: CGPoint(x: 13, y: 12.359))
        p.addCurve(to: CGPoint(x: 12.856, y: 12.856), control1: CGPoint(x: 13, y: 12.641), control2: CGPoint(x: 12.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 13), control1: CGPoint(x: 12.759, y: 12.952), control2: CGPoint(x: 12.641, y: 13))
        p.addLine(to: CGPoint(x: 3.5, y: 13))
        p.addCurve(to: CGPoint(x: 3.144, y: 12.856), control1: CGPoint(x: 3.359, y: 13), control2: CGPoint(x: 3.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 3, y: 12.5), control1: CGPoint(x: 3.048, y: 12.759), control2: CGPoint(x: 3, y: 12.641))
        p.addCurve(to: CGPoint(x: 3.144, y: 12.144), control1: CGPoint(x: 3, y: 12.359), control2: CGPoint(x: 3.048, y: 12.241))
        p.addCurve(to: CGPoint(x: 3.5, y: 12), control1: CGPoint(x: 3.241, y: 12.048), control2: CGPoint(x: 3.359, y: 12))
        p.addLine(to: CGPoint(x: 12.5, y: 12))
        p.addCurve(to: CGPoint(x: 12.856, y: 12.144), control1: CGPoint(x: 12.641, y: 12), control2: CGPoint(x: 12.759, y: 12.048))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// UnderlineIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val UnderlineIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "underline", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(UnderlineIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_underline.xml · Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M10.052 9.895C10.245 9.818 10.414 9.707 10.561 9.561C10.707 9.414 10.818 9.245 10.895 9.052C10.965 8.875 11 8.691 11 8.5L11 2.5C11 2.359 11.048 2.241 11.144 2.144C11.241 2.048 11.359 2 11.5 2C11.641 2 11.759 2.048 11.856 2.144C11.952 2.241 12 2.359 12 2.5L12 8.5C12 8.818 11.941 9.125 11.824 9.42C11.697 9.741 11.512 10.024 11.268 10.268C11.024 10.512 10.741 10.697 10.42 10.824C10.125 10.941 9.818 11 9.5 11L6.5 11C6.182 11 5.875 10.941 5.58 10.824C5.259 10.697 4.976 10.512 4.732 10.268C4.488 10.024 4.303 9.741 4.176 9.42C4.059 9.125 4 8.818 4 8.5L4 2.5C4 2.359 4.048 2.241 4.144 2.144C4.241 2.048 4.359 2 4.5 2C4.641 2 4.759 2.048 4.856 2.144C4.952 2.241 5 2.359 5 2.5L5 8.5C5 8.691 5.035 8.875 5.105 9.052C5.182 9.245 5.293 9.414 5.439 9.561C5.586 9.707 5.755 9.818 5.948 9.895C6.125 9.965 6.309 10 6.5 10L9.5 10C9.691 10 9.875 9.965 10.052 9.895ZM12.856 12.144C12.952 12.241 13 12.359 13 12.5C13 12.641 12.952 12.759 12.856 12.856C12.759 12.952 12.641 13 12.5 13L3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5C3 12.359 3.048 12.241 3.144 12.144C3.241 12.048 3.359 12 3.5 12L12.5 12C12.641 12 12.759 12.048 12.856 12.144Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "underline" (line-round), MIT. https://gentleface.com/icons/underline
import 'package:flutter/widgets.dart';

class UnderlineIcon extends StatelessWidget {
  const UnderlineIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _UnderlineIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _UnderlineIconPainter extends CustomPainter {
  _UnderlineIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(10.052, 9.895)
      ..cubicTo(10.245, 9.818, 10.414, 9.707, 10.561, 9.561)
      ..cubicTo(10.707, 9.414, 10.818, 9.245, 10.895, 9.052)
      ..cubicTo(10.965, 8.875, 11, 8.691, 11, 8.5)
      ..lineTo(11, 2.5)
      ..cubicTo(11, 2.359, 11.048, 2.241, 11.144, 2.144)
      ..cubicTo(11.241, 2.048, 11.359, 2, 11.5, 2)
      ..cubicTo(11.641, 2, 11.759, 2.048, 11.856, 2.144)
      ..cubicTo(11.952, 2.241, 12, 2.359, 12, 2.5)
      ..lineTo(12, 8.5)
      ..cubicTo(12, 8.818, 11.941, 9.125, 11.824, 9.42)
      ..cubicTo(11.697, 9.741, 11.512, 10.024, 11.268, 10.268)
      ..cubicTo(11.024, 10.512, 10.741, 10.697, 10.42, 10.824)
      ..cubicTo(10.125, 10.941, 9.818, 11, 9.5, 11)
      ..lineTo(6.5, 11)
      ..cubicTo(6.182, 11, 5.875, 10.941, 5.58, 10.824)
      ..cubicTo(5.259, 10.697, 4.976, 10.512, 4.732, 10.268)
      ..cubicTo(4.488, 10.024, 4.303, 9.741, 4.176, 9.42)
      ..cubicTo(4.059, 9.125, 4, 8.818, 4, 8.5)
      ..lineTo(4, 2.5)
      ..cubicTo(4, 2.359, 4.048, 2.241, 4.144, 2.144)
      ..cubicTo(4.241, 2.048, 4.359, 2, 4.5, 2)
      ..cubicTo(4.641, 2, 4.759, 2.048, 4.856, 2.144)
      ..cubicTo(4.952, 2.241, 5, 2.359, 5, 2.5)
      ..lineTo(5, 8.5)
      ..cubicTo(5, 8.691, 5.035, 8.875, 5.105, 9.052)
      ..cubicTo(5.182, 9.245, 5.293, 9.414, 5.439, 9.561)
      ..cubicTo(5.586, 9.707, 5.755, 9.818, 5.948, 9.895)
      ..cubicTo(6.125, 9.965, 6.309, 10, 6.5, 10)
      ..lineTo(9.5, 10)
      ..cubicTo(9.691, 10, 9.875, 9.965, 10.052, 9.895)
      ..close()
      ..moveTo(12.856, 12.144)
      ..cubicTo(12.952, 12.241, 13, 12.359, 13, 12.5)
      ..cubicTo(13, 12.641, 12.952, 12.759, 12.856, 12.856)
      ..cubicTo(12.759, 12.952, 12.641, 13, 12.5, 13)
      ..lineTo(3.5, 13)
      ..cubicTo(3.359, 13, 3.241, 12.952, 3.144, 12.856)
      ..cubicTo(3.048, 12.759, 3, 12.641, 3, 12.5)
      ..cubicTo(3, 12.359, 3.048, 12.241, 3.144, 12.144)
      ..cubicTo(3.241, 12.048, 3.359, 12, 3.5, 12)
      ..lineTo(12.5, 12)
      ..cubicTo(12.641, 12, 12.759, 12.048, 12.856, 12.144)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_UnderlineIconPainter old) => old.color != color;
}
```
