Skip to content

H 2

The h2 icon represents a heading or title element in a document or web page, typically used to denote a subheading.

Exports at 24 × 24 px

H 2 icon from IconPark
Get Pro

Code

H 2 in your framework

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

export const H2Icon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M6 8V40"/><path d="M24 8V40"/><path d="M7 24H23"/><path d="M32 25C32 21.8334 34.6667 20 37 20C39.3334 20 42 21.8334 42 25C42 30.7 32 34.9333 32 40H42"/></g>
  </svg>
);

Other libraries

H 2 in 4 more libraries

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

IconPark

Icons that share its tags, in the same style.

  • H 3 icon from IconPark
  • H 1 icon from IconPark
  • Level Eight Title icon from IconPark
  • Level Five Title icon from IconPark
  • Level Four Title icon from IconPark
  • Level Nine Title icon from IconPark
  • Level Seven Title icon from IconPark
  • Level Six Title icon from IconPark
  • Paragraph Alphabet icon from IconPark
  • Paragraph Break icon from IconPark
  • Paragraph Break Two icon from IconPark
  • Paragraph Cut icon from IconPark
  • Paragraph Rectangle icon from IconPark
  • Paragraph Round icon from IconPark
  • Paragraph Triangle icon from IconPark
  • Paragraph Unfold icon from IconPark
  • Text Style icon from IconPark
  • Text Style One icon from IconPark
  • Text Wrap Overflow icon from IconPark
  • Text Wrap Truncation icon from IconPark
  • Auto Line Height icon from IconPark
  • Auto Line Width icon from IconPark
  • File Text icon from IconPark
  • File Text One icon from IconPark

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

Get Pro

Pricing

IconPark MCP, with Pro

Ask for H 2 or any of 2,658 IconPark 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 H 2 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 H 2 from a prompt

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

Get Pro