Gentleface › Text & formatting › underline
underline icon
underlineUnderline: underline, text underline, underlined, format underline. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated underline-draw · line-round
The rule runs off to the right and the letter sinks into its place. The rule draws back from the left under the letter, which lifts past its height and settles.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 1.85 s. Examples and helper.
Code line-round
<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>
// 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: see /icons/underline.md
Svelte: see /icons/underline.md
HTML img: see /icons/underline.md
CSS: see /icons/underline.md
Data URL: see /icons/underline.md
Sprite: see /icons/underline.md
SwiftUI: see /icons/underline.md
Compose: see /icons/underline.md
Android XML: see /icons/underline.md
Flutter: see /icons/underline.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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. More in how to use.
With npm: import { UnderlineIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- underline, text underline, underlined, format underline
- Tags
- underline, underscore, text, format, letter, u
- Category
- Text & formatting
- Component name
UnderlineIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- 20 px redrawn, 24 px redrawn
- 20 px redrawn, 24 px redrawn
- Since
- version 0.1.0
Family 38
More text & formatting icons
align-center align-justify align-justify-center align-left align-right asterisk border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right border-top border-vertical · all text & formatting icons
For agents
Metadata: /icons/underline.json · Markdown: /icons/underline.md · SVG: https://gentleface.com/svg/{style}/16/underline.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/underline.png