square icon
square from Pixelarticons by Gerrit Halfmann · Regular · MIT Free for personal and commercial use.
- Name
- square
- Set
- Pixelarticons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
squareAkar IconssquareBootstrap IconssquareBoxIcons v2squareBoxIcons v2 Solidsquare-fillEva IconssquareFramework7 IconssquareFont Awesome 6 RegularsquareFont Awesome 6 SolidsquareFont Awesome RegularsquareFont Awesome SolidsquareFeather Iconssquare-12-filledFluent UI System Iconssquarecss.ggsquareHuge IconssquareHumbleiconssquareIconParksquareIconPark OutlinesquareIconPark SolidsquareIconPark TwoTonesquareIconoirsquareIonIconssquareJam IconssquareLine AwesomesquareMaterial Line Icons
Related icons in Pixelarticons
square-alertsquare-alert-sharpsquare-chevron-downsquare-chevron-down-sharpsquare-chevron-leftsquare-chevron-left-sharpsquare-chevron-rightsquare-chevron-right-sharpsquare-chevron-upsquare-chevron-up-sharpsquare-cursorsquare-cursor-sharpsquare-dashed-cursorsquare-dashed-cursor-sharpsquare-powersquare-power-sharpsquare-scissorssquare-scissors-sharpsquare-sharp
Use the square icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M2 4h2v16H2zm2 16h16v2H4zM20 4h2v16h-2zM4 2h16v2H4z"/></svg>
React
import type { SVGProps } from "react";
export function PixelarticonsSquare(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M2 4h2v16H2zm2 16h16v2H4zM20 4h2v16h-2zM4 2h16v2H4z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M2 4h2v16H2zm2 16h16v2H4zM20 4h2v16h-2zM4 2h16v2H4z"/></svg> </template>
CSS
.icon-square {
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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2%204h2v16H2zm2%2016h16v2H4zM20%204h2v16h-2zM4%202h16v2H4z%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M2%204h2v16H2zm2%2016h16v2H4zM20%204h2v16h-2zM4%202h16v2H4z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/pixelarticons/square.svg?color=%231a73e8&size=48