square icon
square-outline from IonIcons by Ben Sperry · Outline · MIT Free for personal and commercial use.
- Name
- square-outline
- Set
- IonIcons
- Style
- Outline
- Viewbox
- 512×512
- License
- MIT
2 other variants in IonIcons
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 TwoTonesquareIconoirsquareJam IconssquareLine AwesomesquareMaterial Line IconssquareSVG Logos
Use the square icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 448H96a32.09 32.09 0 0 1-32-32V96a32.09 32.09 0 0 1 32-32h320a32.09 32.09 0 0 1 32 32v320a32.09 32.09 0 0 1-32 32"/></svg>
React
import type { SVGProps } from "react";
export function IonSquareOutline(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="32" d="M416 448H96a32.09 32.09 0 0 1-32-32V96a32.09 32.09 0 0 1 32-32h320a32.09 32.09 0 0 1 32 32v320a32.09 32.09 0 0 1-32 32"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 448H96a32.09 32.09 0 0 1-32-32V96a32.09 32.09 0 0 1 32-32h320a32.09 32.09 0 0 1 32 32v320a32.09 32.09 0 0 1-32 32"/></svg> </template>
CSS
.icon-square-outline {
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%20512%20512%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%2232%22%20d%3D%22M416%20448H96a32.09%2032.09%200%200%201-32-32V96a32.09%2032.09%200%200%201%2032-32h320a32.09%2032.09%200%200%201%2032%2032v320a32.09%2032.09%200%200%201-32%2032%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%20512%20512%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%2232%22%20d%3D%22M416%20448H96a32.09%2032.09%200%200%201-32-32V96a32.09%2032.09%200%200%201%2032-32h320a32.09%2032.09%200%200%201%2032%2032v320a32.09%2032.09%200%200%201-32%2032%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/square-outline.svg?color=%231a73e8&size=48