ICONYZ
English
Usb Drive icon from Keyline Icons

Usb Drive icon

keyline-icons:usb-drive

The Usb Drive icon (keyline-icons:usb-drive) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
usbdrive
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M4 4L12 4C13.1046 4 14 4.8954 14 6L14 18C14 19.1046 13.1046 20 12 20L4 20C2.8954 20 2 19.1046 2 18L2 6C2 4.8954 2.8954 4 4 4ZM14 6L20 6C21.1046 6 22 6.8954 22 8L22 16C22 17.1046 21.1046 18 20 18L14 18"/><path fill="currentColor" d="M19 10C19 10.5523 18.5523 11 18 11C17.4477 11 17 10.5523 17 10C17 9.4477 17.4477 9 18 9C18.5523 9 19 9.4477 19 10ZM19 14C19 14.5523 18.5523 15 18 15C17.4477 15 17 14.5523 17 14C17 13.4477 17.4477 13 18 13C18.5523 13 19 13.4477 19 14Z" stroke="none"/></g></svg>

How to use the Usb Drive icon

React

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

<Icon icon="keyline-icons:usb-drive" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:usb-drive" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:usb-drive" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--usb-drive]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:usb-drive"></div>

Web component

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

<iconify-icon icon="keyline-icons:usb-drive"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/usb-drive.svg" alt="Usb Drive icon" width="24" height="24">

Related icons in Keyline Icons

Usb Drive icon in other icon sets

Usb Drive icon FAQ

Is the Usb Drive icon free for commercial use?

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

How do I use the Usb Drive icon in React?

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

How do I add the Usb Drive icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/usb-drive.svg" alt="Usb Drive icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →