Line Horizontal 1 icon
Used in generic scenarios.Note that we also have Navigation used in navigation moments. The Line Horizontal 1 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 Line Horizontal 1 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 { LineHorizontal124Regular, LineHorizontal124Filled } from "@fluentui/react-icons";
export function Example() {
return <LineHorizontal124Regular aria-label="Line Horizontal 1" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_line_horizontal_1_24_regular.svg" width="24" height="24" alt="Line Horizontal 1"> 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 11.75C2 11.3358 2.33579 11 2.75 11H21.25C21.6642 11 22 11.3358 22 11.75C22 12.1642 21.6642 12.5 21.25 12.5H2.75C2.33579 12.5 2 12.1642 2 11.75Z" 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/line_horizontal_1_24_regular.svg";Details
| Name | Line Horizontal 1 |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_line_horizontal_1_24_regular.svg |
| Filled file | ic_fluent_line_horizontal_1_24_filled.svg |
| React components | LineHorizontal124Regular, LineHorizontal124Filled |
| License | MIT (© Microsoft Corporation) |