source code icon

source-code from IconPark by ByteDance · Color · Office · Apache-2.0 Free for personal and commercial use.

Name
source-code
Set
IconPark
Style
Color
Category
Office
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More office icons from IconPark

Use the source code icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none"><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M23 40H7C5.34315 40 4 38.6569 4 37V11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V25.8824"/><path fill="#2F88FF" stroke="#000" stroke-width="4" d="M4 11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V20H4V11Z"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M34 33L30 37L34 41"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M40 33L44 37L40 41"/><circle r="2" fill="#fff" transform="matrix(0 -1 -1 0 10 14)"/><circle r="2" fill="#fff" transform="matrix(0 -1 -1 0 16 14)"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkSourceCode(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 stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M23 40H7C5.34315 40 4 38.6569 4 37V11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V25.8824"/><path fill="#2F88FF" stroke="#000" strokeWidth="4" d="M4 11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V20H4V11Z"/><path stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M34 33L30 37L34 41"/><path stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="M40 33L44 37L40 41"/><circle r="2" fill="#fff" transform="matrix(0 -1 -1 0 10 14)"/><circle r="2" fill="#fff" transform="matrix(0 -1 -1 0 16 14)"/></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 stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M23 40H7C5.34315 40 4 38.6569 4 37V11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V25.8824"/><path fill="#2F88FF" stroke="#000" stroke-width="4" d="M4 11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V20H4V11Z"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M34 33L30 37L34 41"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M40 33L44 37L40 41"/><circle r="2" fill="#fff" transform="matrix(0 -1 -1 0 10 14)"/><circle r="2" fill="#fff" transform="matrix(0 -1 -1 0 16 14)"/></g></svg>
</template>

CSS

.icon-source-code {
  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%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M23%2040H7C5.34315%2040%204%2038.6569%204%2037V11C4%209.34315%205.34315%208%207%208H41C42.6569%208%2044%209.34315%2044%2011V25.8824%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20d%3D%22M4%2011C4%209.34315%205.34315%208%207%208H41C42.6569%208%2044%209.34315%2044%2011V20H4V11Z%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M34%2033L30%2037L34%2041%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M40%2033L44%2037L40%2041%22%2F%3E%3Ccircle%20r%3D%222%22%20fill%3D%22%23fff%22%20transform%3D%22matrix(0%20-1%20-1%200%2010%2014)%22%2F%3E%3Ccircle%20r%3D%222%22%20fill%3D%22%23fff%22%20transform%3D%22matrix(0%20-1%20-1%200%2016%2014)%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%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M23%2040H7C5.34315%2040%204%2038.6569%204%2037V11C4%209.34315%205.34315%208%207%208H41C42.6569%208%2044%209.34315%2044%2011V25.8824%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20d%3D%22M4%2011C4%209.34315%205.34315%208%207%208H41C42.6569%208%2044%209.34315%2044%2011V20H4V11Z%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M34%2033L30%2037L34%2041%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22M40%2033L44%2037L40%2041%22%2F%3E%3Ccircle%20r%3D%222%22%20fill%3D%22%23fff%22%20transform%3D%22matrix(0%20-1%20-1%200%2010%2014)%22%2F%3E%3Ccircle%20r%3D%222%22%20fill%3D%22%23fff%22%20transform%3D%22matrix(0%20-1%20-1%200%2016%2014)%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/source-code.svg?color=%231a73e8&size=48