Text Frame SVG element, flat

Text Frame SVG element, flat

Three horizontal lines of different lengths sit inside a rectangular border. Use it to represent a text block in a page mockup or a paragraph in a document editor.

Similar SVGs

More from Frames elements, flat

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Rqp9OmRydEtg/amnt.svg" alt="Text Frame" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M15 35h170v130H15zm12 12v106h146V47z"/><rect x="45" y="70" width="110" height="9" rx="4.5"/><rect x="45" y="96" width="84" height="9" rx="4.5"/><rect x="45" y="122" width="98" height="9" rx="4.5"/></svg>
CSS background-image
.text-frame {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Rqp9OmRydEtg/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.text-frame {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Rqp9OmRydEtg/amnt.svg") center / contain no-repeat;
}
React
import TextFrameSvg from "./text-frame.jsx"; // from the React tab above

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

Tags

Made with AMNT

AMNT SVG 1.1 drew this from the words Text Frame: Rectangular border enclosing three short horizontal lines of differing lengths. as part of the pack Frames elements, 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