gentleface

Gentleface › Text & formatting › divider

divider icon

Divider: horizontal rule, divider, separator, hr. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.144 3.856C3.048 3.759 3 3.641 3 3.5C3 3.359 3.048 3.241 3.144 3.144C3.241 3.048 3.359 3 3.5 3L12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4L3.5 4C3.359 4 3.241 3.952 3.144 3.856ZM1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5C13 11.641 12.952 11.759 12.856 11.856C12.759 11.952 12.641 12 12.5 12L3.5 12C3.359 12 3.241 11.952 3.144 11.856C3.048 11.759 3 11.641 3 11.5C3 11.359 3.048 11.241 3.144 11.144C3.241 11.048 3.359 11 3.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144Z"/></svg>
React
// Gentleface "divider" (line-round), MIT. https://gentleface.com/icons/divider
import type { SVGProps } from 'react';

export function DividerIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.144 3.856C3.048 3.759 3 3.641 3 3.5C3 3.359 3.048 3.241 3.144 3.144C3.241 3.048 3.359 3 3.5 3L12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4L3.5 4C3.359 4 3.241 3.952 3.144 3.856ZM1.144 7.856C1.048 7.759 1 7.641 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5C13 11.641 12.952 11.759 12.856 11.856C12.759 11.952 12.641 12 12.5 12L3.5 12C3.359 12 3.241 11.952 3.144 11.856C3.048 11.759 3 11.641 3 11.5C3 11.359 3.048 11.241 3.144 11.144C3.241 11.048 3.359 11 3.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144Z" />
    </svg>
  );
}
Vue
Vue: see /icons/divider.md
Svelte
Svelte: see /icons/divider.md
HTML img
HTML img: see /icons/divider.md
CSS
CSS: see /icons/divider.md
Data URL
Data URL: see /icons/divider.md
Sprite
Sprite: see /icons/divider.md
SwiftUI
SwiftUI: see /icons/divider.md
Compose
Compose: see /icons/divider.md
Android XML
Android XML: see /icons/divider.md
Flutter
Flutter: see /icons/divider.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
horizontal rule, divider, separator, hr, horizontal line
Alternatives
  • divider-vertical: a vertical divider (vertical-divider)
  • page-break: a page break in a printed document (page-break)
  • dot: a middle dot between inline items (separator-dot)
Don’t confuse with
  • minus: minus means subtract; the rule runs the full text width
Also fits
  • separator dot: a full-width rule between blocks (divider)
  • page break: a horizontal rule inside the page (divider)
Tags
divider, separator, horizontal-rule, hr, rule, line, break, text
Category
Text & formatting
Component name
DividerIcon
History
  • added

More text & formatting icons

For agents

Metadata: /icons/divider.json · Markdown: /icons/divider.md · SVG: https://gentleface.com/svg/{style}/16/divider.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/divider.png

Feedback