ICONYZ
English
Line icon from Lets Icons

Line icon

lets-icons:line

The Line icon (lets-icons:line) is a free SVG icon from the Lets Icons set by Leonid Tsvetkov. It is drawn on a 24 × 24 grid. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Lets Icons
Author
Leonid Tsvetkov
License
CC-BY-4.0
Size
24 × 24
Category
Design & Developer
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="M9 15v3c0 .943 0 1.414-.293 1.707S7.943 20 7 20H6c-.943 0-1.414 0-1.707-.293S4 18.943 4 18v-1c0-.943 0-1.414.293-1.707S5.057 15 6 15zm6-6V6c0-.943 0-1.414.293-1.707S16.057 4 17 4h1c.943 0 1.414 0 1.707.293S20 5.057 20 6v1c0 .943 0 1.414-.293 1.707S18.943 9 18 9zm0 0l-6 6"/></svg>

How to use the Line icon

React

import { Icon } from "@iconify/react";

<Icon icon="lets-icons:line" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="lets-icons:line" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="lets-icons:line" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[lets-icons--line]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/lets-icons -->
<div class="i-lets-icons:line"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="lets-icons:line"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lets-icons/line.svg" alt="Line icon" width="24" height="24">

Related icons in Lets Icons

Line icon in other icon sets

Line icon FAQ

Is the Line icon free for commercial use?

Yes. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Line icon in React?

Install @iconify/react and render <Icon icon="lets-icons:line" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Line icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lets-icons/line.svg" alt="Line icon">, or paste the SVG code inline to style it with CSS.

Browse all Lets Icons →