square filled icon
square-filled from Material Line Icons by Vjacheslav Trushkin · Line · Interface · MIT Free for personal and commercial use.
- Name
- square-filled
- Set
- Material Line Icons
- Style
- Line
- Category
- Interface
- Viewbox
- 24×24
- License
- MIT
More interface icons from Material Line Icons
backup-restorecancelcancel-twotonecheck-allcirclecircle-filledcircle-filled-to-confirm-circle-filled-transitioncircle-to-confirm-circle-transitioncircle-to-confirm-circle-twotone-transitioncircle-twotonecircle-twotone-to-confirm-circle-transitioncircle-twotone-to-confirm-circle-twotone-transitioncloseclose-circleclose-circle-filledclose-circle-twotoneclose-smallclose-squareclose-square-filledclose-square-twotonecogcog-filledcog-filled-loopcog-loop
Use the square filled icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-opacity="0" stroke="currentColor" stroke-dasharray="66" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 12v-7c0 -0.55 0.45 -1 1 -1h14c0.55 0 1 0.45 1 1v14c0 0.55 -0.45 1 -1 1h-14c-0.55 0 -1 -0.45 -1 -1Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="66;0"/><animate fill="freeze" attributeName="fill-opacity" begin="0.6s" dur="0.4s" to="1"/></path></svg>
React
import type { SVGProps } from "react";
export function LineMdSquareFilled(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" fillOpacity="0" stroke="currentColor" strokeDasharray="66" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M4 12v-7c0 -0.55 0.45 -1 1 -1h14c0.55 0 1 0.45 1 1v14c0 0.55 -0.45 1 -1 1h-14c-0.55 0 -1 -0.45 -1 -1Z"><animate fill="freeze" attributeName="strokeDashoffset" dur="0.6s" values="66;0"/><animate fill="freeze" attributeName="fillOpacity" begin="0.6s" dur="0.4s" to="1"/></path></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-opacity="0" stroke="currentColor" stroke-dasharray="66" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 12v-7c0 -0.55 0.45 -1 1 -1h14c0.55 0 1 0.45 1 1v14c0 0.55 -0.45 1 -1 1h-14c-0.55 0 -1 -0.45 -1 -1Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="66;0"/><animate fill="freeze" attributeName="fill-opacity" begin="0.6s" dur="0.4s" to="1"/></path></svg> </template>
CSS
.icon-square-filled {
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%20fill-opacity%3D%220%22%20stroke%3D%22currentColor%22%20stroke-dasharray%3D%2266%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M4%2012v-7c0%20-0.55%200.45%20-1%201%20-1h14c0.55%200%201%200.45%201%201v14c0%200.55%20-0.45%201%20-1%201h-14c-0.55%200%20-1%20-0.45%20-1%20-1Z%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20dur%3D%220.6s%22%20values%3D%2266%3B0%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22fill-opacity%22%20begin%3D%220.6s%22%20dur%3D%220.4s%22%20to%3D%221%22%2F%3E%3C%2Fpath%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%20fill-opacity%3D%220%22%20stroke%3D%22currentColor%22%20stroke-dasharray%3D%2266%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M4%2012v-7c0%20-0.55%200.45%20-1%201%20-1h14c0.55%200%201%200.45%201%201v14c0%200.55%20-0.45%201%20-1%201h-14c-0.55%200%20-1%20-0.45%20-1%20-1Z%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20dur%3D%220.6s%22%20values%3D%2266%3B0%22%2F%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22fill-opacity%22%20begin%3D%220.6s%22%20dur%3D%220.4s%22%20to%3D%221%22%2F%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/line-md/square-filled.svg?color=%231a73e8&size=48