Skip to content

Heading 2

The heading-2 icon represents a level 2 heading in a document or text.

Exports at 24 × 24 px

Heading  2 icon from Gravity UI Icons
Get Pro

Code

Heading 2 in your framework

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

export const Heading2Icon = (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" fillRule="evenodd" d="M2.5 4.25a.75.75 0 0 0-1.5 0v7.496a.75.75 0 0 0 1.5 0V8.75h4v2.996a.75.75 0 0 0 1.5 0V4.25a.75.75 0 0 0-1.5 0v3h-4zm8.403 1.783A1.364 1.364 0 0 1 12.226 5h.226a1.071 1.071 0 0 1 .672 1.906l-3.61 2.906a1.51 1.51 0 0 0 .947 2.688h3.789a.75.75 0 0 0 0-1.5h-3.793l-.003-.003l-.003-.004v-.004a.01.01 0 0 1 .004-.008l3.61-2.907A2.571 2.571 0 0 0 12.452 3.5h-.226c-1.314 0-2.46.894-2.778 2.17l-.038.148a.75.75 0 1 0 1.456.364z" clipRule="evenodd"/>
  </svg>
);

Other libraries

Heading 2 in 1 more libraries

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

Gravity UI Icons

Icons that share its tags, in the same style.

  • Heading icon from Gravity UI Icons
  • Heading  1 icon from Gravity UI Icons
  • Heading  3 icon from Gravity UI Icons
  • Heading  4 icon from Gravity UI Icons
  • Heading  5 icon from Gravity UI Icons
  • Heading  6 icon from Gravity UI Icons
  • Underline icon from Gravity UI Icons
  • Font icon from Gravity UI Icons
  • Font Case icon from Gravity UI Icons
  • Font Cursor icon from Gravity UI Icons
  • Text Indent icon from Gravity UI Icons
  • Text Outdent icon from Gravity UI Icons
  • Bold icon from Gravity UI Icons
  • Letter Group icon from Gravity UI Icons
  • Letter M icon from Gravity UI Icons
  • Text icon from Gravity UI Icons
  • File Text icon from Gravity UI Icons
  • Letter A Underline icon from Gravity UI Icons
  • Square Article icon from Gravity UI Icons
  • Square Letter P icon from Gravity UI Icons
  • Square Letter T icon from Gravity UI Icons
  • Text Align Center icon from Gravity UI Icons
  • Text Align Justify icon from Gravity UI Icons
  • Text Align Left icon from Gravity UI Icons

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

Get Pro

Pricing

Gravity UI Icons MCP, with Pro

Ask for Heading 2 or any of 744 Gravity UI 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 Heading 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 Heading 2 from a prompt

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

Get Pro