Gentleface › Text & formatting › text-wrap
text-wrap icon
text-wrapText wrap: word wrap, text wrap, wrap text, line wrap. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated text-wrap-ride · line-round
The wrapping line retracts into its head and the short line pulls away. The head then rides from the far left along the line and round the bend, drawing it, and the short line pushes out ahead of it on arrival.
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 2.4 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="M14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.854 13.146C10.953 13.246 11.003 13.364 11.003 13.5C11.003 13.636 10.953 13.754 10.854 13.854C10.754 13.953 10.636 14.003 10.5 14.003C10.364 14.003 10.246 13.953 10.146 13.854L8.146 11.854C8.047 11.754 7.997 11.636 7.997 11.5C7.997 11.364 8.047 11.246 8.146 11.146L10.146 9.146C10.246 9.047 10.364 8.997 10.5 8.997C10.636 8.997 10.754 9.047 10.854 9.146C10.953 9.246 11.003 9.364 11.003 9.5C11.003 9.636 10.953 9.754 10.854 9.854L9.707 11L12.5 11C12.691 11 12.875 10.965 13.052 10.895C13.245 10.818 13.414 10.707 13.561 10.561C13.707 10.414 13.818 10.245 13.895 10.052C13.965 9.875 14 9.691 14 9.5C14 9.309 13.965 9.125 13.895 8.948C13.818 8.755 13.707 8.586 13.561 8.439C13.414 8.293 13.245 8.182 13.052 8.105C12.875 8.035 12.691 8 12.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L12.5 7C12.818 7 13.125 7.059 13.42 7.176C13.741 7.303 14.024 7.488 14.268 7.732C14.512 7.976 14.697 8.259 14.824 8.58C14.941 8.875 15 9.182 15 9.5C15 9.818 14.941 10.125 14.824 10.42C14.697 10.741 14.512 11.024 14.268 11.268C14.024 11.512 13.741 11.697 13.42 11.824C13.125 11.941 12.818 12 12.5 12L9.707 12L10.854 13.146ZM5.856 11.144C5.952 11.241 6 11.359 6 11.5C6 11.641 5.952 11.759 5.856 11.856C5.759 11.952 5.641 12 5.5 12L1.5 12C1.359 12 1.241 11.952 1.144 11.856C1.048 11.759 1 11.641 1 11.5C1 11.359 1.048 11.241 1.144 11.144C1.241 11.048 1.359 11 1.5 11L5.5 11C5.641 11 5.759 11.048 5.856 11.144Z"/></svg>
// Gentleface "text-wrap" (line-round), MIT. https://gentleface.com/icons/text-wrap
import type { SVGProps } from 'react';
export function TextWrapIcon(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="M14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.854 13.146C10.953 13.246 11.003 13.364 11.003 13.5C11.003 13.636 10.953 13.754 10.854 13.854C10.754 13.953 10.636 14.003 10.5 14.003C10.364 14.003 10.246 13.953 10.146 13.854L8.146 11.854C8.047 11.754 7.997 11.636 7.997 11.5C7.997 11.364 8.047 11.246 8.146 11.146L10.146 9.146C10.246 9.047 10.364 8.997 10.5 8.997C10.636 8.997 10.754 9.047 10.854 9.146C10.953 9.246 11.003 9.364 11.003 9.5C11.003 9.636 10.953 9.754 10.854 9.854L9.707 11L12.5 11C12.691 11 12.875 10.965 13.052 10.895C13.245 10.818 13.414 10.707 13.561 10.561C13.707 10.414 13.818 10.245 13.895 10.052C13.965 9.875 14 9.691 14 9.5C14 9.309 13.965 9.125 13.895 8.948C13.818 8.755 13.707 8.586 13.561 8.439C13.414 8.293 13.245 8.182 13.052 8.105C12.875 8.035 12.691 8 12.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L12.5 7C12.818 7 13.125 7.059 13.42 7.176C13.741 7.303 14.024 7.488 14.268 7.732C14.512 7.976 14.697 8.259 14.824 8.58C14.941 8.875 15 9.182 15 9.5C15 9.818 14.941 10.125 14.824 10.42C14.697 10.741 14.512 11.024 14.268 11.268C14.024 11.512 13.741 11.697 13.42 11.824C13.125 11.941 12.818 12 12.5 12L9.707 12L10.854 13.146ZM5.856 11.144C5.952 11.241 6 11.359 6 11.5C6 11.641 5.952 11.759 5.856 11.856C5.759 11.952 5.641 12 5.5 12L1.5 12C1.359 12 1.241 11.952 1.144 11.856C1.048 11.759 1 11.641 1 11.5C1 11.359 1.048 11.241 1.144 11.144C1.241 11.048 1.359 11 1.5 11L5.5 11C5.641 11 5.759 11.048 5.856 11.144Z" />
</svg>
);
}Vue: see /icons/text-wrap.md
Svelte: see /icons/text-wrap.md
HTML img: see /icons/text-wrap.md
CSS: see /icons/text-wrap.md
Data URL: see /icons/text-wrap.md
Sprite: see /icons/text-wrap.md
SwiftUI: see /icons/text-wrap.md
Compose: see /icons/text-wrap.md
Android XML: see /icons/text-wrap.md
Flutter: see /icons/text-wrap.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 { TextWrapIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- word wrap, text wrap, wrap text, line wrap
- Alternatives
float-left: wrap text around an image (float-left)text-wrap-off: turn wrapping off (no-wrap)
- Also fits
- float left: wrap long lines inside a cell or a box (word-wrap)
- clip text: wrap long text onto new lines (word-wrap)
- Not for
- auto layout wrap (use
auto-layout-wrap): wraps lines of text, not the items of a layout
- auto layout wrap (use
- Tags
- wrap, word-wrap, line-break, return, overflow, text, format
- Category
- Text & formatting
- Component name
TextWrapIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 1
More text & formatting icons
align-center align-justify align-justify-center align-left align-right asterisk bold border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right border-top · all text & formatting icons
For agents
Metadata: /icons/text-wrap.json · Markdown: /icons/text-wrap.md · SVG: https://gentleface.com/svg/{style}/16/text-wrap.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/text-wrap.png