Diagonal Line icon

Diagonal Line is a Google Material Symbol from the Text category. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

Outlined, unfilled, weight 400

diagonal_line_outlined_fill0_wght400.svg

Diagonal Line icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200&icon_names=diagonal_line" />

<span class="material-symbols-outlined">diagonal_line</span>

Diagonal Line icon in React

// With the font from the HTML tab:
export function DiagonalLineIcon() {
  return (
    <span className="material-symbols-outlined">
      diagonal_line
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import DiagonalLineIcon from "@material-symbols/svg-400/outlined/diagonal_line.svg?react";

Diagonal Line icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">diagonal_line</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import DiagonalLineIcon from "@material-symbols/svg-400/outlined/diagonal_line.svg?component"; -->

Diagonal Line icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">diagonal_line</mat-icon>

Diagonal Line icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.diagonal_line, fill: 0, weight: 400)

Diagonal Line icon in Android

A vector drawable of the selected style, fill and weight:

<!-- res/drawable/diagonal_line.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="M19.212 22Q18.05 22 17.225 21.183q-.825-.816-.825-1.983 0-.376 .088-.725Q16.575 18.125 16.75 17.825L6.175 7.225q-.3 .175-.649 .275-.35 .1-.726 .1-1.15 0-1.975-.825t-.825-1.975q0-1.15 .813-1.975t1.975-.825Q5.95 2 6.775 2.817q.825 .816 .825 1.983 0 .376-.1 .726Q7.4 5.875 7.225 6.175l10.575 10.6q.3-.175 .65-.275t.75-.1q1.167 0 1.983 .813 .817 .814 .817 1.975T21.187 21.175q-.813 .825-1.975 .825Z" />
</vector>

Diagonal Line icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/diagonal_line.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/[email protected]/outlined/diagonal_line.svg" width="24" height="24" alt="Diagonal Line">

Diagonal Line icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NameDiagonal Line
Ligaturediagonal_line
Code pointU+F41E
CategoryText
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/diagonal_line.svg, diagonal_line-fill.svg
FlutterSymbols.diagonal_line
LicenseApache License 2.0 (© Google LLC)

Keywords

textediteditinggraphicslashbarelementsimplemarkerabstractdashbasicangle

Related icons