textbox icon

textbox from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.

Name
textbox
Set
Phosphor
Style
Regular
Viewbox
256×256
License
MIT

5 other variants in Phosphor

The same icon in other sets

Use the textbox icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M112 40a8 8 0 0 0-8 8v16H24A16 16 0 0 0 8 80v96a16 16 0 0 0 16 16h80v16a8 8 0 0 0 16 0V48a8 8 0 0 0-8-8M24 176V80h80v96Zm224-96v96a16 16 0 0 1-16 16h-88a8 8 0 0 1 0-16h88V80h-88a8 8 0 0 1 0-16h88a16 16 0 0 1 16 16M88 112a8 8 0 0 1-8 8h-8v24a8 8 0 0 1-16 0v-24h-8a8 8 0 0 1 0-16h32a8 8 0 0 1 8 8"/></svg>

React

import type { SVGProps } from "react";

export function PhTextbox(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M112 40a8 8 0 0 0-8 8v16H24A16 16 0 0 0 8 80v96a16 16 0 0 0 16 16h80v16a8 8 0 0 0 16 0V48a8 8 0 0 0-8-8M24 176V80h80v96Zm224-96v96a16 16 0 0 1-16 16h-88a8 8 0 0 1 0-16h88V80h-88a8 8 0 0 1 0-16h88a16 16 0 0 1 16 16M88 112a8 8 0 0 1-8 8h-8v24a8 8 0 0 1-16 0v-24h-8a8 8 0 0 1 0-16h32a8 8 0 0 1 8 8"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M112 40a8 8 0 0 0-8 8v16H24A16 16 0 0 0 8 80v96a16 16 0 0 0 16 16h80v16a8 8 0 0 0 16 0V48a8 8 0 0 0-8-8M24 176V80h80v96Zm224-96v96a16 16 0 0 1-16 16h-88a8 8 0 0 1 0-16h88V80h-88a8 8 0 0 1 0-16h88a16 16 0 0 1 16 16M88 112a8 8 0 0 1-8 8h-8v24a8 8 0 0 1-16 0v-24h-8a8 8 0 0 1 0-16h32a8 8 0 0 1 8 8"/></svg>
</template>

CSS

.icon-textbox {
  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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M112%2040a8%208%200%200%200-8%208v16H24A16%2016%200%200%200%208%2080v96a16%2016%200%200%200%2016%2016h80v16a8%208%200%200%200%2016%200V48a8%208%200%200%200-8-8M24%20176V80h80v96Zm224-96v96a16%2016%200%200%201-16%2016h-88a8%208%200%200%201%200-16h88V80h-88a8%208%200%200%201%200-16h88a16%2016%200%200%201%2016%2016M88%20112a8%208%200%200%201-8%208h-8v24a8%208%200%200%201-16%200v-24h-8a8%208%200%200%201%200-16h32a8%208%200%200%201%208%208%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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M112%2040a8%208%200%200%200-8%208v16H24A16%2016%200%200%200%208%2080v96a16%2016%200%200%200%2016%2016h80v16a8%208%200%200%200%2016%200V48a8%208%200%200%200-8-8M24%20176V80h80v96Zm224-96v96a16%2016%200%200%201-16%2016h-88a8%208%200%200%201%200-16h88V80h-88a8%208%200%200%201%200-16h88a16%2016%200%200%201%2016%2016M88%20112a8%208%200%200%201-8%208h-8v24a8%208%200%200%201-16%200v-24h-8a8%208%200%200%201%200-16h32a8%208%200%200%201%208%208%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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