ICONYZ
English
Nintendo Switch icon from Iconoir

Nintendo Switch icon

iconoir:nintendo-switch

The Nintendo Switch icon (iconoir:nintendo-switch) is a free SVG icon from the Iconoir set by Luca Burgio. It is drawn on a 24 × 24 grid. Iconoir 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
Iconoir
Author
Luca Burgio
License
MIT
Size
24 × 24
Category
Gaming
Tags
nintendoswitch
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-width="1.5"><path d="M2 17V7a4 4 0 0 1 4-4h3.9a.6.6 0 0 1 .6.6v16.8a.6.6 0 0 1-.6.6H6a4 4 0 0 1-4-4Z"/><path fill="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M6.5 8a1 1 0 1 0 0-2a1 1 0 0 0 0 2m11 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2"/><path d="M22 17V7a4 4 0 0 0-4-4h-3.9a.6.6 0 0 0-.6.6v16.8a.6.6 0 0 0 .6.6H18a4 4 0 0 0 4-4Z"/></g></svg>

How to use the Nintendo Switch icon

React

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

<Icon icon="iconoir:nintendo-switch" width="24" />

Vue

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

<template>
  <Icon icon="iconoir:nintendo-switch" width="24" />
</template>

Svelte

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

<Icon icon="iconoir:nintendo-switch" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoir--nintendo-switch]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/iconoir -->
<div class="i-iconoir:nintendo-switch"></div>

Web component

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

<iconify-icon icon="iconoir:nintendo-switch"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/iconoir/nintendo-switch.svg" alt="Nintendo Switch icon" width="24" height="24">

Nintendo Switch icon in other icon sets

Nintendo Switch icon FAQ

Is the Nintendo Switch icon free for commercial use?

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

How do I use the Nintendo Switch icon in React?

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

How do I add the Nintendo Switch icon to a web page?

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

Browse all Iconoir icons →