Gentleface › Text & formatting › heading-2
heading-2 icon
heading-2Heading 2: heading 2, h2. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M7.761 8.225L2.781 8.225L2.781 13L1 13L1 2L2.781 2L2.781 6.649L7.761 6.649L7.761 2L9.542 2L9.542 13L7.761 13L7.761 8.225ZM14.865 13L11.374 13L11.374 12.056L12.925 10.671C13.153 10.469 13.327 10.274 13.448 10.086C13.56 9.911 13.616 9.732 13.616 9.551L13.616 9.463C13.616 9.281 13.563 9.139 13.457 9.036C13.348 8.931 13.198 8.879 13.005 8.879C12.792 8.879 12.632 8.935 12.525 9.048C12.405 9.174 12.319 9.328 12.267 9.511L12.222 9.669L11.267 9.302L11.314 9.166C11.387 8.953 11.493 8.753 11.633 8.565C11.777 8.371 11.967 8.215 12.204 8.097C12.44 7.978 12.727 7.919 13.066 7.919C13.409 7.919 13.704 7.985 13.951 8.116C14.201 8.248 14.393 8.431 14.526 8.665C14.658 8.896 14.724 9.16 14.724 9.456C14.724 9.735 14.67 9.986 14.561 10.211C14.456 10.43 14.312 10.634 14.13 10.823C13.956 11.004 13.762 11.185 13.547 11.368L12.75 12.054L14.865 12.054L14.865 13Z"/></svg>
// Gentleface "heading-2" (line-round), MIT. https://gentleface.com/icons/heading-2
import type { SVGProps } from 'react';
export function Heading2Icon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M7.761 8.225L2.781 8.225L2.781 13L1 13L1 2L2.781 2L2.781 6.649L7.761 6.649L7.761 2L9.542 2L9.542 13L7.761 13L7.761 8.225ZM14.865 13L11.374 13L11.374 12.056L12.925 10.671C13.153 10.469 13.327 10.274 13.448 10.086C13.56 9.911 13.616 9.732 13.616 9.551L13.616 9.463C13.616 9.281 13.563 9.139 13.457 9.036C13.348 8.931 13.198 8.879 13.005 8.879C12.792 8.879 12.632 8.935 12.525 9.048C12.405 9.174 12.319 9.328 12.267 9.511L12.222 9.669L11.267 9.302L11.314 9.166C11.387 8.953 11.493 8.753 11.633 8.565C11.777 8.371 11.967 8.215 12.204 8.097C12.44 7.978 12.727 7.919 13.066 7.919C13.409 7.919 13.704 7.985 13.951 8.116C14.201 8.248 14.393 8.431 14.526 8.665C14.658 8.896 14.724 9.16 14.724 9.456C14.724 9.735 14.67 9.986 14.561 10.211C14.456 10.43 14.312 10.634 14.13 10.823C13.956 11.004 13.762 11.185 13.547 11.368L12.75 12.054L14.865 12.054L14.865 13Z" />
</svg>
);
}Vue: see /icons/heading-2.md
Svelte: see /icons/heading-2.md
HTML img: see /icons/heading-2.md
CSS: see /icons/heading-2.md
Data URL: see /icons/heading-2.md
Sprite: see /icons/heading-2.md
SwiftUI: see /icons/heading-2.md
Compose: see /icons/heading-2.md
Android XML: see /icons/heading-2.md
Flutter: see /icons/heading-2.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { Heading2Icon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- heading 2, h2
- Tags
- heading, h2, level-2, title, header, headline, text, format, letter, h, number
- Category
- Text & formatting
- Component name
Heading2Icon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- 20 px redrawn, 24 px redrawn
- 20 px redrawn, 24 px redrawn
- 16 px redrawn
- changed in 0.7.0
- Since
- version 0.1.0
Family 40
More text & formatting icons
align-center align-distributed align-justify align-justify-center align-justify-right align-left align-right asterisk border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right · all text & formatting icons
For agents
Metadata: /icons/heading-2.json · Markdown: /icons/heading-2.md · SVG: https://gentleface.com/svg/{style}/16/heading-2.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/heading-2.png