ICONYZ
English
Tesla icon from Lineicons

Tesla icon

lineicons:tesla

The Tesla icon (lineicons:tesla) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Lineicons
Author
Lineicons
License
MIT
Size
24 × 24
Category
regular
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M21.334 5.119c-3.298-1.46-6.52-1.924-9.334-1.902c-2.815-.022-6.038.442-9.335 1.902c-.393-.724-.554-1.162-.554-1.162C5.716 2.508 9.092 2.012 12 2c2.908.012 6.284.508 9.889 1.957c0 0-.113.356-.554 1.162m-6.566 1.078L12 22L9.21 6.194c-2.619.002-3.45.296-3.57 1.495c0 0-1.77-.67-2.662-2.03c3.482-1.64 6.98-1.713 6.98-1.713L12 6.468l2.039-2.522s3.498.074 6.98 1.713c-.892 1.36-2.661 2.03-2.661 2.03c-.12-1.199-.952-1.492-3.59-1.492" clip-rule="evenodd"/></svg>

How to use the Tesla icon

React

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

<Icon icon="lineicons:tesla" width="24" />

Vue

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

<template>
  <Icon icon="lineicons:tesla" width="24" />
</template>

Svelte

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

<Icon icon="lineicons:tesla" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[lineicons--tesla]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="lineicons:tesla"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lineicons/tesla.svg" alt="Tesla icon" width="24" height="24">

Tesla icon in other icon sets

Tesla icon FAQ

Is the Tesla icon free for commercial use?

Yes. Lineicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Tesla icon in React?

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

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

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

Browse all Lineicons →