surround with icon

surround-with from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.

Name
surround-with
Set
Codicons
Style
Regular
Viewbox
16×16
License
CC BY 4.0

Use the surround with icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M5 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2m4-1a1 1 0 1 1-2 0a1 1 0 0 1 2 0m2 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2m-8.5 4H2c-.551 0-1-.448-1-1V4c0-.551.449-1 1-1h.5a.5.5 0 0 1 0 1H2v8h.5a.5.5 0 0 1 0 1M14 13h-.5a.5.5 0 0 1 0-1h.5V4h-.5a.5.5 0 0 1 0-1h.5c.551 0 1 .449 1 1v8c0 .552-.449 1-1 1" clip-rule="evenodd"/></svg>

React

import type { SVGProps } from "react";

export function CodiconSurroundWith(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" fillRule="evenodd" d="M5 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2m4-1a1 1 0 1 1-2 0a1 1 0 0 1 2 0m2 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2m-8.5 4H2c-.551 0-1-.448-1-1V4c0-.551.449-1 1-1h.5a.5.5 0 0 1 0 1H2v8h.5a.5.5 0 0 1 0 1M14 13h-.5a.5.5 0 0 1 0-1h.5V4h-.5a.5.5 0 0 1 0-1h.5c.551 0 1 .449 1 1v8c0 .552-.449 1-1 1" clipRule="evenodd"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M5 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2m4-1a1 1 0 1 1-2 0a1 1 0 0 1 2 0m2 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2m-8.5 4H2c-.551 0-1-.448-1-1V4c0-.551.449-1 1-1h.5a.5.5 0 0 1 0 1H2v8h.5a.5.5 0 0 1 0 1M14 13h-.5a.5.5 0 0 1 0-1h.5V4h-.5a.5.5 0 0 1 0-1h.5c.551 0 1 .449 1 1v8c0 .552-.449 1-1 1" clip-rule="evenodd"/></svg>
</template>

CSS

.icon-surround-with {
  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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M5%209a1%201%200%201%200%200-2a1%201%200%200%200%200%202m4-1a1%201%200%201%201-2%200a1%201%200%200%201%202%200m2%201a1%201%200%201%200%200-2a1%201%200%200%200%200%202m-8.5%204H2c-.551%200-1-.448-1-1V4c0-.551.449-1%201-1h.5a.5.5%200%200%201%200%201H2v8h.5a.5.5%200%200%201%200%201M14%2013h-.5a.5.5%200%200%201%200-1h.5V4h-.5a.5.5%200%200%201%200-1h.5c.551%200%201%20.449%201%201v8c0%20.552-.449%201-1%201%22%20clip-rule%3D%22evenodd%22%2F%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M5%209a1%201%200%201%200%200-2a1%201%200%200%200%200%202m4-1a1%201%200%201%201-2%200a1%201%200%200%201%202%200m2%201a1%201%200%201%200%200-2a1%201%200%200%200%200%202m-8.5%204H2c-.551%200-1-.448-1-1V4c0-.551.449-1%201-1h.5a.5.5%200%200%201%200%201H2v8h.5a.5.5%200%200%201%200%201M14%2013h-.5a.5.5%200%200%201%200-1h.5V4h-.5a.5.5%200%200%201%200-1h.5c.551%200%201%20.449%201%201v8c0%20.552-.449%201-1%201%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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