Text Hanging icon
Used in general type creation and editing scenarios. The Text Hanging icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Text Hanging icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { TextHanging24Regular, TextHanging24Filled } from "@fluentui/react-icons";
export function Example() {
return <TextHanging24Regular aria-label="Text Hanging" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_text_hanging_24_regular.svg" width="24" height="24" alt="Text Hanging"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.75 5C2.33579 5 2 5.33579 2 5.75C2 6.16421 2.33579 6.5 2.75 6.5H21.25C21.6642 6.5 22 6.16421 22 5.75C22 5.33579 21.6642 5 21.25 5H2.75ZM9.75 18C9.33579 18 9 18.3358 9 18.75C9 19.1642 9.33579 19.5 9.75 19.5H21.25C21.6642 19.5 22 19.1642 22 18.75C22 18.3358 21.6642 18 21.25 18H9.75ZM9 12.25C9 11.8358 9.33579 11.5 9.75 11.5H21.25C21.6642 11.5 22 11.8358 22 12.25C22 12.6642 21.6642 13 21.25 13H9.75C9.33579 13 9 12.6642 9 12.25ZM3.78033 12.9697C3.48744 12.6768 3.01256 12.6768 2.71967 12.9697C2.42678 13.2626 2.42678 13.7374 2.71967 14.0303L4.18934 15.5L2.71967 16.9697C2.42678 17.2626 2.42678 17.7374 2.71967 18.0303C3.01256 18.3232 3.48744 18.3232 3.78033 18.0303L5.78033 16.0303C6.07322 15.7374 6.07322 15.2626 5.78033 14.9697L3.78033 12.9697Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/text_hanging_24_regular.svg";Details
| Name | Text Hanging |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_text_hanging_24_regular.svg |
| Filled file | ic_fluent_text_hanging_24_filled.svg |
| React components | TextHanging24Regular, TextHanging24Filled |
| License | MIT (© Microsoft Corporation) |