Line Horizontal 2 Dashes Solid icon

Used to represent line drawing styles. The Line Horizontal 2 Dashes Solid 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.

Regular (outlined)

SVG

Filled

SVG

Use the Line Horizontal 2 Dashes Solid 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 { LineHorizontal2DashesSolid24Regular, LineHorizontal2DashesSolid24Filled } from "@fluentui/react-icons";

export function Example() {
  return <LineHorizontal2DashesSolid24Regular aria-label="Line Horizontal 2 Dashes Solid" />;
}

Use it in HTML

Reference the SVG file directly:

<img src="https://fluenticons.co/icons/ic_fluent_line_horizontal_2_dashes_solid_24_regular.svg" width="24" height="24" alt="Line Horizontal 2 Dashes Solid">

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 7C2.33579 7 2 7.33579 2 7.75C2 8.16421 2.33579 8.5 2.75 8.5H6.25C6.66421 8.5 7 8.16421 7 7.75C7 7.33579 6.66421 7 6.25 7H2.75ZM10.25 7C9.83579 7 9.5 7.33579 9.5 7.75C9.5 8.16421 9.83579 8.5 10.25 8.5H13.75C14.1642 8.5 14.5 8.16421 14.5 7.75C14.5 7.33579 14.1642 7 13.75 7H10.25ZM17.75 7C17.3358 7 17 7.33579 17 7.75C17 8.16421 17.3358 8.5 17.75 8.5H21.25C21.6642 8.5 22 8.16421 22 7.75C22 7.33579 21.6642 7 21.25 7H17.75ZM2.75 15C2.33579 15 2 15.3358 2 15.75C2 16.1642 2.33579 16.5 2.75 16.5H21.25C21.6642 16.5 22 16.1642 22 15.75C22 15.3358 21.6642 15 21.25 15H2.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_2_dashes_solid_24_regular.svg";

Details

NameLine Horizontal 2 Dashes Solid
StylesRegular (outlined), Filled
Size24 × 24 px (scalable SVG)
Regular (outlined) fileic_fluent_line_horizontal_2_dashes_solid_24_regular.svg
Filled fileic_fluent_line_horizontal_2_dashes_solid_24_filled.svg
React componentsLineHorizontal2DashesSolid24Regular, LineHorizontal2DashesSolid24Filled
LicenseMIT (© Microsoft Corporation)

Keywords

stylecreateeditdrawdash

Related icons