gentleface

Gentleface › Text & formatting › heading

heading icon

Heading: heading, title, headline. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.51 8.225L5.51 13L3.729 13L3.729 2L5.51 2L5.51 6.649L10.49 6.649L10.49 2L12.271 2L12.271 13L10.49 13L10.49 8.225L5.51 8.225Z"/></svg>
React
// Gentleface "heading" (line-round), MIT. https://gentleface.com/icons/heading
import type { SVGProps } from 'react';

export function HeadingIcon(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="M5.51 8.225L5.51 13L3.729 13L3.729 2L5.51 2L5.51 6.649L10.49 6.649L10.49 2L12.271 2L12.271 13L10.49 13L10.49 8.225L5.51 8.225Z" />
    </svg>
  );
}
Vue
Vue: see /icons/heading.md
Svelte
Svelte: see /icons/heading.md
HTML img
HTML img: see /icons/heading.md
CSS
CSS: see /icons/heading.md
Data URL
Data URL: see /icons/heading.md
Sprite
Sprite: see /icons/heading.md
SwiftUI
SwiftUI: see /icons/heading.md
Compose
Compose: see /icons/heading.md
Android XML
Android XML: see /icons/heading.md
Flutter
Flutter: see /icons/heading.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 { HeadingIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
heading, title, headline
Alternatives
Tags
heading, title, header, headline, h1, text, format, letter, h
Category
Text & formatting
Component name
HeadingIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
  • 20 px redrawn, 24 px redrawn
  • 16 px redrawn
Since
version 0.1.0

Family 40

More text & formatting icons

For agents

Metadata: /icons/heading.json · Markdown: /icons/heading.md · SVG: https://gentleface.com/svg/{style}/16/heading.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/heading.png