ICONYZ
English
Car icon from Prime Icons

Car icon

prime:car

The Car icon (prime:car) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime Icons 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
Prime Icons
Author
PrimeTek
License
MIT
Size
24 × 24
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="m19.78 9.44l-1.84-5a1.75 1.75 0 0 0-1.64-1.19H7.7A1.75 1.75 0 0 0 6.06 4.4l-1.84 5a1.76 1.76 0 0 0-1 1.56v4.5A1.73 1.73 0 0 0 4 16.94S4 17 4 17v2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1.75h10V19a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-2.06a1.73 1.73 0 0 0 .76-1.44V11a1.76 1.76 0 0 0-.98-1.56m-.53 6.06a.25.25 0 0 1-.25.25H5a.25.25 0 0 1-.25-.25V11a.25.25 0 0 1 .25-.25h14a.25.25 0 0 1 .25.25ZM7.47 4.91a.25.25 0 0 1 .23-.16h8.6a.25.25 0 0 1 .23.16l1.4 3.84H6.07Z"/><circle cx="8" cy="13.25" r="1.5" fill="currentColor"/><circle cx="16" cy="13.25" r="1.5" fill="currentColor"/></svg>

How to use the Car icon

React

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

<Icon icon="prime:car" width="24" />

Vue

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

<template>
  <Icon icon="prime:car" width="24" />
</template>

Svelte

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

<Icon icon="prime:car" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="prime:car"></iconify-icon>

HTML image

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

Related icons in Prime Icons

Car icon in other icon sets

Car icon FAQ

Is the Car icon free for commercial use?

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

How do I use the Car icon in React?

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

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

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

Browse all Prime Icons →