Dotted Border SVG element, flat

Dotted Border SVG element, flat

Small dots follow all four edges of the frame. Add this border to a printable certificate or around an announcement in an email newsletter.

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/5hYHvAiNS1uR/amnt.svg" alt="Dotted Border" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="currentColor"><defs><circle id="dot" r="2.5"/></defs><path fill="none" stroke="currentColor" stroke-width="5" stroke-linecap="round" stroke-dasharray="0.01 11.49" d="M16 16H184V184H16Z"/></svg>
CSS background-image
.dotted-border {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/5hYHvAiNS1uR/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.dotted-border {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/5hYHvAiNS1uR/amnt.svg") center / contain no-repeat;
}
React
import DottedBorderSvg from "./dotted-border.jsx"; // from the React tab above

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

Tags

Made with AMNT

AMNT SVG 1.1 drew this from the words Dotted Border: Small dots running along all four edges of the frame. 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