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 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z"/></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 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 8L2 8L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 2.5C1 2.359 1.048 2.241 1.144 2.144C1.241 2.048 1.359 2 1.5 2C1.641 2 1.759 2.048 1.856 2.144C1.952 2.241 2 2.359 2 2.5L2 7L7 7L7 2.5ZM12.854 8.146L13.854 9.146C13.953 9.246 14.003 9.364 14.003 9.5C14.003 9.636 13.953 9.754 13.854 9.854L11.707 12L13.5 12C13.641 12 13.759 12.048 13.856 12.144C13.952 12.241 14 12.359 14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13L10.5 13C10.362 13 10.244 12.951 10.146 12.854C10.047 12.754 9.997 12.636 9.997 12.5C9.997 12.364 10.047 12.246 10.146 12.146L12.793 9.5L12.293 9L10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5C10 8.359 10.048 8.241 10.144 8.144C10.241 8.048 10.359 8 10.5 8L12.5 8C12.638 8 12.756 8.049 12.854 8.146Z" />
</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
- Since
- version 0.1.0
Family 38
More text & formatting icons
align-center align-justify align-justify-center align-left align-right asterisk border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right border-top border-vertical · 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