Straight Line SVG element, flat

Free

One continuous rule spans nearly the full width. It can underline a website heading or separate a name from contact details on a business card.

Sign in to download. Free SVGs are free with any account.

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/SVrxHCIkwcxH/amnt.svg" alt="Straight Line" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 40" preserveAspectRatio="none" fill="none" stroke="currentColor"><path d="M12 20H388" stroke-width="1"/></svg>
CSS background-image
.straight-line {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/SVrxHCIkwcxH/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.straight-line {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/SVrxHCIkwcxH/amnt.svg") center / contain no-repeat;
}
React
import StraightLineSvg from "./straight-line.jsx"; // from the React tab above

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

Made with AMNT

AMNT SVG 1.1 drew this from the words Straight Line: One continuous horizontal rule spanning nearly the full width. as part of the pack Underlines, flat. Want one like it? Make your own in the SVG studio.

Rest of Underlines, flat

Similar SVGs

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