gentleface

Gentleface › Design › line-style

line-style icon

Line style: line style, stroke style, border style, dash style. 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="M1.144 2.856C1.048 2.759 1 2.641 1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2L13.5 2C13.641 2 13.759 2.048 13.856 2.144C13.952 2.241 14 2.359 14 2.5C14 2.641 13.952 2.759 13.856 2.856C13.759 2.952 13.641 3 13.5 3L1.5 3C1.359 3 1.241 2.952 1.144 2.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 7L3.5 7C3.641 7 3.759 7.048 3.856 7.144C3.952 7.241 4 7.359 4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L8.5 7C8.641 7 8.759 7.048 8.856 7.144C8.952 7.241 9 7.359 9 7.5C9 7.641 8.952 7.759 8.856 7.856C8.759 7.952 8.641 8 8.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L11.5 8C11.359 8 11.241 7.952 11.144 7.856C11.048 7.759 11 7.641 11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144ZM1 12L2 12L2 13L1 13L1 12ZM4 13L3 13L3 12L4 12L4 13ZM5 13L5 12L6 12L6 13L5 13ZM8 12L8 13L7 13L7 12L8 12ZM9 13L9 12L10 12L10 13L9 13ZM12 13L11 13L11 12L12 12L12 13ZM14 13L13 13L13 12L14 12L14 13Z"/></svg>
React
// Gentleface "line-style" (line-round), MIT. https://gentleface.com/icons/line-style
import type { SVGProps } from 'react';

export function LineStyleIcon(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="M1.144 2.856C1.048 2.759 1 2.641 1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2L13.5 2C13.641 2 13.759 2.048 13.856 2.144C13.952 2.241 14 2.359 14 2.5C14 2.641 13.952 2.759 13.856 2.856C13.759 2.952 13.641 3 13.5 3L1.5 3C1.359 3 1.241 2.952 1.144 2.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 7L3.5 7C3.641 7 3.759 7.048 3.856 7.144C3.952 7.241 4 7.359 4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8L1.5 8C1.359 8 1.241 7.952 1.144 7.856ZM6.144 7.856C6.048 7.759 6 7.641 6 7.5C6 7.359 6.048 7.241 6.144 7.144C6.241 7.048 6.359 7 6.5 7L8.5 7C8.641 7 8.759 7.048 8.856 7.144C8.952 7.241 9 7.359 9 7.5C9 7.641 8.952 7.759 8.856 7.856C8.759 7.952 8.641 8 8.5 8L6.5 8C6.359 8 6.241 7.952 6.144 7.856ZM13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L11.5 8C11.359 8 11.241 7.952 11.144 7.856C11.048 7.759 11 7.641 11 7.5C11 7.359 11.048 7.241 11.144 7.144C11.241 7.048 11.359 7 11.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144ZM1 12L2 12L2 13L1 13L1 12ZM4 13L3 13L3 12L4 12L4 13ZM5 13L5 12L6 12L6 13L5 13ZM8 12L8 13L7 13L7 12L8 12ZM9 13L9 12L10 12L10 13L9 13ZM12 13L11 13L11 12L12 12L12 13ZM14 13L13 13L13 12L14 12L14 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/line-style.md
Svelte
Svelte: see /icons/line-style.md
HTML img
HTML img: see /icons/line-style.md
CSS
CSS: see /icons/line-style.md
Data URL
Data URL: see /icons/line-style.md
Sprite
Sprite: see /icons/line-style.md
SwiftUI
SwiftUI: see /icons/line-style.md
Compose
Compose: see /icons/line-style.md
Android XML
Android XML: see /icons/line-style.md
Flutter
Flutter: see /icons/line-style.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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.

With npm: import { LineStyleIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
line style, stroke style, border style, dash style
Tags
line-style, stroke, border, dashed, dotted, solid, dash, pattern
Category
Design
Component name
LineStyleIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 8

More design icons

For agents

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