switch nintendo icon

switch-nintendo from IconPark by ByteDance · Color · Hardware · Apache-2.0 Free for personal and commercial use.

Name
switch-nintendo
Set
IconPark
Style
Color
Category
Hardware
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More hardware icons from IconPark

Use the switch nintendo icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path fill="#2F88FF" stroke="#000" stroke-width="4" d="M6 12C6 7.58172 9.58172 4 14 4H19C20.1046 4 21 4.89543 21 6V40C21 41.1046 20.1046 42 19 42H14C9.58172 42 6 38.4183 6 34V12Z"/><path fill="#2F88FF" stroke="#000" stroke-width="4" d="M42 14C42 9.58172 38.4183 6 34 6H28C26.8954 6 26 6.89543 26 8V42C26 43.1046 26.8954 44 28 44H34C38.4183 44 42 40.4183 42 36V14Z"/><rect width="5" height="5" x="11" y="30" fill="#fff" rx="2.5"/><rect width="5" height="5" x="31.5" y="14" fill="#fff" rx="2.5"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M15 17H12"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M34 28V34"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M31 31L37 31"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkSwitchNintendo(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path fill="#2F88FF" stroke="#000" strokeWidth="4" d="M6 12C6 7.58172 9.58172 4 14 4H19C20.1046 4 21 4.89543 21 6V40C21 41.1046 20.1046 42 19 42H14C9.58172 42 6 38.4183 6 34V12Z"/><path fill="#2F88FF" stroke="#000" strokeWidth="4" d="M42 14C42 9.58172 38.4183 6 34 6H28C26.8954 6 26 6.89543 26 8V42C26 43.1046 26.8954 44 28 44H34C38.4183 44 42 40.4183 42 36V14Z"/><rect width="5" height="5" x="11" y="30" fill="#fff" rx="2.5"/><rect width="5" height="5" x="31.5" y="14" fill="#fff" rx="2.5"/><path stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M15 17H12"/><path stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M34 28V34"/><path stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M31 31L37 31"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path fill="#2F88FF" stroke="#000" stroke-width="4" d="M6 12C6 7.58172 9.58172 4 14 4H19C20.1046 4 21 4.89543 21 6V40C21 41.1046 20.1046 42 19 42H14C9.58172 42 6 38.4183 6 34V12Z"/><path fill="#2F88FF" stroke="#000" stroke-width="4" d="M42 14C42 9.58172 38.4183 6 34 6H28C26.8954 6 26 6.89543 26 8V42C26 43.1046 26.8954 44 28 44H34C38.4183 44 42 40.4183 42 36V14Z"/><rect width="5" height="5" x="11" y="30" fill="#fff" rx="2.5"/><rect width="5" height="5" x="31.5" y="14" fill="#fff" rx="2.5"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M15 17H12"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M34 28V34"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M31 31L37 31"/></g></svg>
</template>

CSS

.icon-switch-nintendo {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20d%3D%22M6%2012C6%207.58172%209.58172%204%2014%204H19C20.1046%204%2021%204.89543%2021%206V40C21%2041.1046%2020.1046%2042%2019%2042H14C9.58172%2042%206%2038.4183%206%2034V12Z%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20d%3D%22M42%2014C42%209.58172%2038.4183%206%2034%206H28C26.8954%206%2026%206.89543%2026%208V42C26%2043.1046%2026.8954%2044%2028%2044H34C38.4183%2044%2042%2040.4183%2042%2036V14Z%22%2F%3E%3Crect%20width%3D%225%22%20height%3D%225%22%20x%3D%2211%22%20y%3D%2230%22%20fill%3D%22%23fff%22%20rx%3D%222.5%22%2F%3E%3Crect%20width%3D%225%22%20height%3D%225%22%20x%3D%2231.5%22%20y%3D%2214%22%20fill%3D%22%23fff%22%20rx%3D%222.5%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M15%2017H12%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M34%2028V34%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M31%2031L37%2031%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20d%3D%22M6%2012C6%207.58172%209.58172%204%2014%204H19C20.1046%204%2021%204.89543%2021%206V40C21%2041.1046%2020.1046%2042%2019%2042H14C9.58172%2042%206%2038.4183%206%2034V12Z%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20d%3D%22M42%2014C42%209.58172%2038.4183%206%2034%206H28C26.8954%206%2026%206.89543%2026%208V42C26%2043.1046%2026.8954%2044%2028%2044H34C38.4183%2044%2042%2040.4183%2042%2036V14Z%22%2F%3E%3Crect%20width%3D%225%22%20height%3D%225%22%20x%3D%2211%22%20y%3D%2230%22%20fill%3D%22%23fff%22%20rx%3D%222.5%22%2F%3E%3Crect%20width%3D%225%22%20height%3D%225%22%20x%3D%2231.5%22%20y%3D%2214%22%20fill%3D%22%23fff%22%20rx%3D%222.5%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M15%2017H12%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M34%2028V34%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M31%2031L37%2031%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/switch-nintendo.svg?color=%231a73e8&size=48