Cars icon
andrsrxn:cars
The Cars icon (andrsrxn:cars) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Transport, Travel
- Tags
- car
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M15.22 14.44a2.94 2.94 0 0 0-2.89-2.4h-7.5a2.94 2.94 0 1 0 0 5.88h7.5a2.94 2.94 0 0 0 2.9-3.48m6.98-3.67a2.94 2.94 0 0 0-2.89-2.4h-6.18l.69 3.1l1.66 2.79h3.83a2.94 2.94 0 0 0 2.9-3.49" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.26 14.46c-.13-.73-.2-1.1-.35-1.38a2 2 0 0 0-1.11-.93c-.32-.11-.69-.11-1.43-.11H4.64c-.74 0-1.11 0-1.43.1a2 2 0 0 0-1.1.93c-.16.3-.23.66-.36 1.4c-.18 1-.27 1.5-.17 1.91a2 2 0 0 0 1.14 1.37c.39.17.9.17 1.92.17h7.73c1.02 0 1.53 0 1.92-.17a2 2 0 0 0 1.14-1.37c.1-.4.01-.9-.17-1.92"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.3 14.26h4.06c1.02 0 1.53 0 1.92-.17a2 2 0 0 0 1.14-1.37c.1-.4.01-.91-.17-1.92c-.13-.73-.2-1.1-.36-1.39a2 2 0 0 0-1.1-.93c-.32-.1-.69-.1-1.43-.1h-6.19"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m3.18 12.04l.2-1.18c.27-1.59.4-2.38.96-2.85s1.37-.48 2.98-.48h2.43c1.68 0 2.52 0 3.09.5s.67 1.33.88 3l.13 1.01"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m10.21 7.5l.06-.3c.32-1.52.48-2.28 1.03-2.73s1.33-.45 2.89-.45h2.57c1.67 0 2.5 0 3.07.5s.67 1.32.9 2.98l.1.88M2.67 18.07v.05c0 .83 0 1.24.22 1.52l.14.13c.28.23.69.23 1.51.23s1.24 0 1.52-.23l.13-.13c.23-.28.23-.7.23-1.52v-.05m4.06 0v.06c0 .82 0 1.23.23 1.5l.14.14c.28.23.69.23 1.5.23c.83 0 1.24 0 1.51-.23l.14-.14c.23-.27.23-.68.23-1.5v-.06m3.24-3.81v.13c0 .82 0 1.23.23 1.5l.14.15c.27.22.68.22 1.5.22c.83 0 1.24 0 1.51-.22l.14-.14c.23-.28.23-.69.23-1.51v-.13m-10.34.72h1.48m5.51-3.66h1.48M4.54 14.98H6.1"/></g></svg>How to use the Cars icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:cars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:cars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:cars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--cars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:cars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:cars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/cars.svg" alt="Cars icon" width="24" height="24">Cars icon FAQ
Is the Cars icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cars icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:cars" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cars icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/cars.svg" alt="Cars icon">, or paste the SVG code inline to style it with CSS.