Dotted Square SVG element, flat

Dotted Square SVG element, flat

Spaced dots form four equal sides around a centred square. Use it to mark an image placeholder in a wireframe or frame a label on a worksheet.

Similar SVGs

More from Dots and grids, flat

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/F9EKuusnfloa/amnt.svg" alt="Dotted Square" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="currentColor"><defs><g id="row"><circle cx="20" cy="20" r="3"/><circle cx="36" cy="20" r="3"/><circle cx="52" cy="20" r="3"/><circle cx="68" cy="20" r="3"/><circle cx="84" cy="20" r="3"/><circle cx="100" cy="20" r="3"/><circle cx="116" cy="20" r="3"/><circle cx="132" cy="20" r="3"/><circle cx="148" cy="20" r="3"/><circle cx="164" cy="20" r="3"/><circle cx="180" cy="20" r="3"/></g></defs><use href="#row"/><use href="#row" transform="translate(0 160)"/><use href="#row" transform="rotate(90 100 100)"/><use href="#row" transform="rotate(-90 100 100)"/></svg>
CSS background-image
.dotted-square {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/F9EKuusnfloa/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.dotted-square {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/F9EKuusnfloa/amnt.svg") center / contain no-repeat;
}
React
import DottedSquareSvg from "./dotted-square.jsx"; // from the React tab above

<DottedSquareSvg width={48} height={48} />

Tags

Made with AMNT

AMNT SVG 1.1 drew this from the words Dotted Square: Equal-length sides of spaced dots forming a centred square. as part of the pack Dots and grids, flat. Want one like it? Make your own in the SVG studio.

Licence: free. A Free account may use it for personal work; Pro and Max download it with a commercial licence, fixed at download, forever. No credit needed. Read the licence

Settings