Skip to content

Line

The line icon represents a horizontal line or a divider, often used to separate sections or elements in a design.

Exports at 24 × 24 px

Line icon from Bootstrap Icons
Get Pro

Code

Line in your framework

In any framework. Customize it above, and the code follows.

export const LineIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16" {...props}>
    <path fill="currentColor" d="M8 0c4.411 0 8 2.912 8 6.492c0 1.433-.555 2.723-1.715 3.994c-1.678 1.932-5.431 4.285-6.285 4.645c-.83.35-.734-.197-.696-.413l.003-.018l.114-.685c.027-.204.055-.521-.026-.723c-.09-.223-.444-.339-.704-.395C2.846 12.39 0 9.701 0 6.492C0 2.912 3.59 0 8 0M5.022 7.686H3.497V4.918a.156.156 0 0 0-.155-.156H2.78a.156.156 0 0 0-.156.156v3.486c0 .041.017.08.044.107v.001l.002.002l.002.002a.15.15 0 0 0 .108.043h2.242c.086 0 .155-.07.155-.156v-.56a.156.156 0 0 0-.155-.157m.791-2.924a.156.156 0 0 0-.156.156v3.486c0 .086.07.155.156.155h.562c.086 0 .155-.07.155-.155V4.918a.156.156 0 0 0-.155-.156zm3.863 0a.156.156 0 0 0-.156.156v2.07L7.923 4.832l-.013-.015v-.001l-.01-.01l-.003-.003l-.011-.009h-.001L7.88 4.79l-.003-.002l-.005-.003l-.008-.005h-.002l-.003-.002l-.01-.004l-.004-.002l-.01-.003h-.002l-.003-.001l-.009-.002h-.006l-.003-.001h-.004l-.002-.001h-.574a.156.156 0 0 0-.156.155v3.486c0 .086.07.155.156.155h.56c.087 0 .157-.07.157-.155v-2.07l1.6 2.16a.2.2 0 0 0 .039.038l.001.001l.01.006l.004.002l.008.004l.007.003l.005.002l.01.003h.003a.2.2 0 0 0 .04.006h.56c.087 0 .157-.07.157-.155V4.918a.156.156 0 0 0-.156-.156zm3.815.717v-.56a.156.156 0 0 0-.155-.157h-2.242a.16.16 0 0 0-.108.044h-.001l-.001.002l-.002.003a.16.16 0 0 0-.044.107v3.486c0 .041.017.08.044.107l.002.003l.002.002a.16.16 0 0 0 .108.043h2.242c.086 0 .155-.07.155-.156v-.56a.156.156 0 0 0-.155-.157H11.81v-.589h1.525c.086 0 .155-.07.155-.156v-.56a.156.156 0 0 0-.155-.157H11.81v-.589h1.525c.086 0 .155-.07.155-.156Z"/>
  </svg>
);

Bootstrap Icons

Icons that share its tags, in the same style.

  • Slash icon from Bootstrap Icons
  • Slash Lg icon from Bootstrap Icons
  • Border Middle icon from Bootstrap Icons
  • Dash icon from Bootstrap Icons
  • Border Left icon from Bootstrap Icons
  • Border Right icon from Bootstrap Icons
  • Border Style icon from Bootstrap Icons
  • Border Top icon from Bootstrap Icons
  • Border Width icon from Bootstrap Icons
  • 123 icon from Bootstrap Icons
  • Dash Circle Dotted icon from Bootstrap Icons
  • 0 Circle icon from Bootstrap Icons
  • 0 Square icon from Bootstrap Icons
  • 1 Circle icon from Bootstrap Icons
  • 1 Square icon from Bootstrap Icons
  • 2 Circle icon from Bootstrap Icons
  • 2 Square icon from Bootstrap Icons
  • 3 Circle icon from Bootstrap Icons
  • Bar Chart Line icon from Bootstrap Icons
  • Columns icon from Bootstrap Icons
  • Columns Gap icon from Bootstrap Icons
  • Feather 2 icon from Bootstrap Icons
  • House Dash icon from Bootstrap Icons
  • Shadows icon from Bootstrap Icons

Skip the copy and paste. With Pro, your AI agent finds and installs any Bootstrap Icons icon from a prompt.

Get Pro

Pricing

Bootstrap Icons MCP, with Pro

Ask for Line or any of 2,084 Bootstrap Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Line icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Line from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro