diagonal-line from Material Symbols Light by Google · Regular · Text · Apache-2.0 Free for personal and commercial use.

Name
diagonal-line
Set
Material Symbols Light
Style
Regular
Category
Text
Viewbox
24×24
License
Apache 2.0
Aliases
diagonal-line-outline, diagonal-line-outline-rounded, diagonal-line-outline-sharp, diagonal-line-rounded, diagonal-line-sharp

The same icon in other sets

More text icons from Material Symbols Light

Use the diagonal line icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M18.61 21q-.994 0-1.687-.695q-.692-.696-.692-1.69q0-.369.103-.694q.104-.325.293-.605L6.685 7.373q-.281.188-.606.292t-.695.104q-.993 0-1.689-.697Q3 6.377 3 5.38t.697-1.688T5.389 3t1.688.696q.692.695.692 1.689q0 .356-.094.688t-.283.611l9.924 9.924q.28-.189.612-.283t.688-.094q.993 0 1.689.697q.695.697.695 1.692t-.697 1.688t-1.692.692"/></svg>

React

import type { SVGProps } from "react";

export function MaterialSymbolsLightDiagonalLine(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M18.61 21q-.994 0-1.687-.695q-.692-.696-.692-1.69q0-.369.103-.694q.104-.325.293-.605L6.685 7.373q-.281.188-.606.292t-.695.104q-.993 0-1.689-.697Q3 6.377 3 5.38t.697-1.688T5.389 3t1.688.696q.692.695.692 1.689q0 .356-.094.688t-.283.611l9.924 9.924q.28-.189.612-.283t.688-.094q.993 0 1.689.697q.695.697.695 1.692t-.697 1.688t-1.692.692"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M18.61 21q-.994 0-1.687-.695q-.692-.696-.692-1.69q0-.369.103-.694q.104-.325.293-.605L6.685 7.373q-.281.188-.606.292t-.695.104q-.993 0-1.689-.697Q3 6.377 3 5.38t.697-1.688T5.389 3t1.688.696q.692.695.692 1.689q0 .356-.094.688t-.283.611l9.924 9.924q.28-.189.612-.283t.688-.094q.993 0 1.689.697q.695.697.695 1.692t-.697 1.688t-1.692.692"/></svg>
</template>

CSS

.icon-diagonal-line {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M18.61%2021q-.994%200-1.687-.695q-.692-.696-.692-1.69q0-.369.103-.694q.104-.325.293-.605L6.685%207.373q-.281.188-.606.292t-.695.104q-.993%200-1.689-.697Q3%206.377%203%205.38t.697-1.688T5.389%203t1.688.696q.692.695.692%201.689q0%20.356-.094.688t-.283.611l9.924%209.924q.28-.189.612-.283t.688-.094q.993%200%201.689.697q.695.697.695%201.692t-.697%201.688t-1.692.692%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M18.61%2021q-.994%200-1.687-.695q-.692-.696-.692-1.69q0-.369.103-.694q.104-.325.293-.605L6.685%207.373q-.281.188-.606.292t-.695.104q-.993%200-1.689-.697Q3%206.377%203%205.38t.697-1.688T5.389%203t1.688.696q.692.695.692%201.689q0%20.356-.094.688t-.283.611l9.924%209.924q.28-.189.612-.283t.688-.094q.993%200%201.689.697q.695.697.695%201.692t-.697%201.688t-1.692.692%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols-light/diagonal-line.svg?color=%231a73e8&size=48