Router icon
material-symbols:router
The Router icon (material-symbols:router) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols icons are released under the Apache 2.0 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
- Material Symbols
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Tags
- box, cable, connection, hardware, internet, network, signal, wifi
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5 21q-.825 0-1.412-.587T3 19v-4q0-.825.588-1.412T5 13h10V9h2v4h2q.825 0 1.413.588T21 15v4q0 .825-.587 1.413T19 21zm2.713-3.287Q8 17.425 8 17t-.288-.712T7 16t-.712.288T6 17t.288.713T7 18t.713-.288m3.5 0q.287-.287.287-.712t-.288-.712T10.5 16t-.712.288T9.5 17t.288.713t.712.287t.713-.288m3.5 0Q15 17.426 15 17t-.288-.712T14 16t-.712.288T13 17t.288.713T14 18t.713-.288M14.25 8.25L12.8 6.8q.65-.6 1.45-.95T16 5.5t1.75.35t1.45.95l-1.45 1.45q-.35-.35-.788-.55T16 7.5t-.963.2t-.787.55m-2.5-2.5l-1.4-1.4q1.1-1.1 2.55-1.725T16 2t3.1.625t2.55 1.725l-1.4 1.4q-.825-.825-1.912-1.287T16 4t-2.337.463T11.75 5.75"/></svg>How to use the Router icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:router" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:router" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:router" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--router]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:router"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:router"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/router.svg" alt="Router icon" width="24" height="24">Related icons in Material Symbols
Router icon in other icon sets
Router icon FAQ
Is the Router icon free for commercial use?
Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Router icon in React?
Install @iconify/react and render <Icon icon="material-symbols:router" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Router icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/router.svg" alt="Router icon">, or paste the SVG code inline to style it with CSS.