Route icon
boxicons:route
The Route icon (boxicons:route) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.5 11h-11a2.5 2.5 0 0 1 0-5H10v2l4-3l-4-3v2H6.5C4.02 4 2 6.02 2 8.5S4.02 13 6.5 13h11a2.5 2.5 0 0 1 0 5H7.82A2.99 2.99 0 0 0 5 16c-1.65 0-3 1.35-3 3s1.35 3 3 3c1.3 0 2.4-.84 2.82-2h9.68c2.48 0 4.5-2.02 4.5-4.5S19.98 11 17.5 11M5 20c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1M19 2c-1.65 0-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3s-1.35-3-3-3m0 4c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1"/></svg>How to use the Route icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:route" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:route" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:route" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--route]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:route"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:route"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/route.svg" alt="Route icon" width="24" height="24">Related icons in Boxicons
Route icon in other icon sets
Route icon FAQ
Is the Route icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Route icon in React?
Install @iconify/react and render <Icon icon="boxicons:route" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Route icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/route.svg" alt="Route icon">, or paste the SVG code inline to style it with CSS.