gentleface

Gentleface › Text & formatting › type

type icon

Type: text, type, typography, text tool. 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="M8.781 13L7 13L7 3.576L3.722 3.576L3.722 2L12.059 2L12.059 3.576L8.781 3.576L8.781 13Z"/></svg>
React
// Gentleface "type" (line-round), MIT. https://gentleface.com/icons/type
import type { SVGProps } from 'react';

export function TypeIcon(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="M8.781 13L7 13L7 3.576L3.722 3.576L3.722 2L12.059 2L12.059 3.576L8.781 3.576L8.781 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/type.md
Svelte
Svelte: see /icons/type.md
HTML img
HTML img: see /icons/type.md
CSS
CSS: see /icons/type.md
Data URL
Data URL: see /icons/type.md
Sprite
Sprite: see /icons/type.md
SwiftUI
SwiftUI: see /icons/type.md
Compose
Compose: see /icons/type.md
Android XML
Android XML: see /icons/type.md
Flutter
Flutter: see /icons/type.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 { TypeIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
text, type, typography, text tool, text format
Alternatives
Also fits
  • font file: text, fonts or typography without a file (typography)
  • font: text in general or the text tool (text)
  • heading: plain text (text)
Not for
  • text cursor (use cursor-text): type is the text tool or text in general (text)
Tags
text, type, font, typography, typeface, letter, t
Category
Text & formatting
Component name
TypeIcon
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/type.json · Markdown: /icons/type.md · SVG: https://gentleface.com/svg/{style}/16/type.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/type.png