ICONYZ
English
Car 2 icon from Lineicons

Car 2 icon

lineicons:car-2

The Car 2 icon (lineicons:car-2) 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" d="M7 12.125a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm7.75.75a.75.75 0 0 1 .75-.75H17a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75"/><path fill="currentColor" d="M10.376 2a.75.75 0 0 0-.67.414l-.42.836H7.7a2.25 2.25 0 0 0-2.107 1.46L4.64 7.25H2.75a.75.75 0 0 0 0 1.5h1.33l-.044.116A2.25 2.25 0 0 0 2.5 11v7a1.5 1.5 0 0 0 3 0v-1h13v1a1.5 1.5 0 0 0 3 0v-7c0-.993-.643-1.835-1.535-2.134l-.043-.116h1.328a.75.75 0 0 0 0-1.5h-1.89l-.951-2.54a2.25 2.25 0 0 0-2.107-1.46h-1.589l-.419-.836a.75.75 0 0 0-.67-.414zM20 15.5H4V11a.75.75 0 0 1 .75-.75h14.5A.75.75 0 0 1 20 11zM7.7 4.75h8.602a.75.75 0 0 1 .702.487L18.32 8.75H5.68l1.316-3.513A.75.75 0 0 1 7.7 4.75"/></svg>

How to use the Car 2 icon

React

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

<Icon icon="lineicons:car-2" width="24" />

Vue

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

<template>
  <Icon icon="lineicons:car-2" width="24" />
</template>

Svelte

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

<Icon icon="lineicons:car-2" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="lineicons:car-2"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lineicons/car-2.svg" alt="Car 2 icon" width="24" height="24">

Related icons in Lineicons

Car 2 icon in other icon sets

Car 2 icon FAQ

Is the Car 2 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 Car 2 icon in React?

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

How do I add the Car 2 icon to a web page?

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

Browse all Lineicons →