Skip to content

Horizontal Rule

The horizontal rule icon represents a horizontal line or divider.

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 24 × 24 px

Horizontal Rule icon from Codicons
Get Pro

538 in CodiconsCC BY 4.0 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="24" height="24" viewBox="0 0 16 16" {...props}>
    <path fill="currentColor" d="M14.5 13.5a.5.5 0 0 1-.5.5H2a.5.5 0 0 1 0-1h12a.5.5 0 0 1 .5.5M2.5 11a.5.5 0 0 0 .5-.5v-3h3v3a.5.5 0 0 0 1 0v-7a.5.5 0 0 0-1 0v3H3v-3a.5.5 0 0 0-1 0v7a.5.5 0 0 0 .5.5m6.5-.5v-7a.5.5 0 0 1 .5-.5h2.25C12.99 3 14 4.009 14 5.25c0 .892-.526 1.657-1.28 2.021c.606.664.901 1.609 1.091 2.236c.058.189.132.437.186.558a.5.5 0 0 1-.247.935c-.531 0-.692-.531-.896-1.203C12.487 8.587 12.069 7.5 11 7.5h-1v3a.5.5 0 0 1-1 0m1-4h1.75c.689 0 1.25-.561 1.25-1.25S12.439 4 11.75 4H10z"/>
  </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 Octicons

Codicons

Icons that share its tags, in the same style.

  • Split Horizontal icon from Codicons
  • Debug Line By Line icon from Codicons
  • Split Vertical icon from Codicons
  • Graph Line icon from Codicons
  • Indent icon from Codicons
  • Whitespace icon from Codicons
  • Bold icon from Codicons
  • Case Sensitive icon from Codicons
  • Chat Sparkle Error icon from Codicons
  • Chat Sparkle Warning icon from Codicons
  • Check icon from Codicons
  • Check All icon from Codicons
  • Checklist icon from Codicons
  • Chevron Down icon from Codicons
  • Chevron Left icon from Codicons
  • Chevron Right icon from Codicons
  • Chevron Up icon from Codicons
  • Chip icon from Codicons
  • Chrome Close icon from Codicons
  • Chrome Maximize icon from Codicons
  • Chrome Minimize icon from Codicons
  • Chrome Restore icon from Codicons
  • Circle icon from Codicons
  • Circle Filled icon from Codicons

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

Get Pro

Tags

Browse by tag

Horizontal Rule is tagged typography, line, divider and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Codicons MCP, with Pro

Ask for Horizontal Rule or any of 538 Codicons 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