ICONYZ
English
Cable icon from Material Symbols

Cable icon

material-symbols:cable

The Cable icon (material-symbols:cable) 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
Google
License
Apache-2.0
Size
24 × 24
Category
Android
Tags
connect, connection, device, electronics, usb, wire, cable outline
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="M5 21q-.425 0-.712-.288T4 20v-1H3v-4q0-.425.288-.712T4 14h1V7q0-1.65 1.175-2.825T9 3t2.825 1.175T13 7v10q0 .825.588 1.413T15 19t1.413-.587T17 17v-7h-1q-.425 0-.712-.288T15 9V5h1V4q0-.425.288-.712T17 3h2q.425 0 .713.288T20 4v1h1v4q0 .425-.288.713T20 10h-1v7q0 1.65-1.175 2.825T15 21t-2.825-1.175T11 17V7q0-.825-.587-1.412T9 5t-1.412.588T7 7v7h1q.425 0 .713.288T9 15v4H8v1q0 .425-.288.713T7 21z"/></svg>

How to use the Cable icon

React

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

<Icon icon="material-symbols:cable" width="24" />

Vue

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

<template>
  <Icon icon="material-symbols:cable" width="24" />
</template>

Svelte

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

<Icon icon="material-symbols:cable" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--cable]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:cable"></div>

Web component

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

<iconify-icon icon="material-symbols:cable"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-symbols/cable.svg" alt="Cable icon" width="24" height="24">

Related icons in Material Symbols

Cable icon in other icon sets

Cable icon FAQ

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

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

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

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

Browse all Material Symbols icons →