box from Element Plus by Element Plus · Outline · MIT Free for personal and commercial use.

Name
box
Set
Element Plus
Style
Outline
Viewbox
1024×1024
License
MIT

The same icon in other sets

Use the box icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path fill="currentColor" d="M317 128L128 344v552h768V344L707 128zm-14.5-64h419a32 32 0 0 1 24 10.9l206.6 236A32 32 0 0 1 960 332v596a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332a32 32 0 0 1 8-21L278.3 75a32 32 0 0 1 24.1-11"/><path fill="currentColor" d="M64 320h896v64H64z"/><path fill="currentColor" d="M448 327.9V640h128V327.9L526 128h-28zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"/></svg>

React

import type { SVGProps } from "react";

export function EpBox(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path fill="currentColor" d="M317 128L128 344v552h768V344L707 128zm-14.5-64h419a32 32 0 0 1 24 10.9l206.6 236A32 32 0 0 1 960 332v596a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332a32 32 0 0 1 8-21L278.3 75a32 32 0 0 1 24.1-11"/><path fill="currentColor" d="M64 320h896v64H64z"/><path fill="currentColor" d="M448 327.9V640h128V327.9L526 128h-28zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path fill="currentColor" d="M317 128L128 344v552h768V344L707 128zm-14.5-64h419a32 32 0 0 1 24 10.9l206.6 236A32 32 0 0 1 960 332v596a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332a32 32 0 0 1 8-21L278.3 75a32 32 0 0 1 24.1-11"/><path fill="currentColor" d="M64 320h896v64H64z"/><path fill="currentColor" d="M448 327.9V640h128V327.9L526 128h-28zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"/></svg>
</template>

CSS

.icon-box {
  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%201024%201024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M317%20128L128%20344v552h768V344L707%20128zm-14.5-64h419a32%2032%200%200%201%2024%2010.9l206.6%20236A32%2032%200%200%201%20960%20332v596a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V332a32%2032%200%200%201%208-21L278.3%2075a32%2032%200%200%201%2024.1-11%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M64%20320h896v64H64z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M448%20327.9V640h128V327.9L526%20128h-28zM448%2064h128l64%20256v352a32%2032%200%200%201-32%2032H416a32%2032%200%200%201-32-32V320z%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%201024%201024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M317%20128L128%20344v552h768V344L707%20128zm-14.5-64h419a32%2032%200%200%201%2024%2010.9l206.6%20236A32%2032%200%200%201%20960%20332v596a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V332a32%2032%200%200%201%208-21L278.3%2075a32%2032%200%200%201%2024.1-11%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M64%20320h896v64H64z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M448%20327.9V640h128V327.9L526%20128h-28zM448%2064h128l64%20256v352a32%2032%200%200%201-32%2032H416a32%2032%200%200%201-32-32V320z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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