Skip to content
shadcn.io

Horizontal Rule

The horizontal-rule icon represents a horizontal line or divider, commonly used to separate content sections or distinguish between different parts of an interface.

Add shadcn.io to your AI agent. · Pro It installs Horizontal Rule, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 15 × 24 px

Horizontal Rule icon from Octicons
Get Pro

901 in OcticonsMIT license (opens in a new tab)Free to copy and download

Code

Horizontal Rule in your framework

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

export const HorizontalRuleIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="15" height="24" viewBox="0 0 10 16" {...props}>
    <path fillRule="evenodd" d="M1 7h2v2h1V3H3v3H1V3H0v6h1V7zm9 2V7H9v2h1zm0-3V4H9v2h1zM7 6V4h2V3H6v6h1V7h2V6H7zm-7 7h10v-2H0v2z" fill="currentColor"/>
  </svg>
);

Other libraries

Horizontal Rule in 3 more libraries

Each library draws it its own way. Open one to compare.

  • Horizontal Rule icon from Material Symbols
  • Horizontal Rule icon from Material Symbols Light
  • Horizontal Rule icon from Codicons

Octicons

Icons that share its tags, in the same style.

  • Horizontal Rule  16 icon from Octicons
  • Horizontal Rule  24 icon from Octicons
  • Home  16 icon from Octicons
  • Home  24 icon from Octicons
  • Hourglass  16 icon from Octicons
  • Hourglass  24 icon from Octicons
  • Hubot icon from Octicons
  • Chevron Right  16 icon from Octicons
  • Chevron Right  24 icon from Octicons
  • Chevron Up icon from Octicons
  • Chevron Up  12 icon from Octicons
  • Chevron Up  16 icon from Octicons
  • Chevron Up  24 icon from Octicons
  • Circle  16 icon from Octicons
  • Circle  24 icon from Octicons
  • Circle Slash icon from Octicons
  • Circle Slash  16 icon from Octicons
  • Eye  16 icon from Octicons
  • Eye  24 icon from Octicons
  • Eye Closed icon from Octicons
  • Eye Closed  16 icon from Octicons
  • Eye Closed  24 icon from Octicons
  • Feed Discussion  16 icon from Octicons
  • Feed Forked  16 icon from Octicons

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

Get Pro

Tags

Browse by tag

Horizontal Rule is tagged UI, interface, design and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Octicons MCP, with Pro

Ask for Horizontal Rule or any of 901 Octicons 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 Horizontal Rule icon means and where it's used, then how to install, style and license it.

Install Horizontal Rule from a prompt

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

Get Pro