The Phosphor text h two icon visually represents a secondary heading (H2) and is commonly used in rich text editors or design tools to indicate or apply a specific heading style.
Common uses
- Rich text editor toolbar button for H2 style
- Document formatting options menu
- UI element for setting secondary title prominence
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { TextHTwo } from '@phosphor-icons/react';
<TextHTwo size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<TextHTwo size={24} />thin
<TextHTwo size={24} weight="thin" />light
<TextHTwo size={24} weight="light" />bold
<TextHTwo size={24} weight="bold" />fill
<TextHTwo size={24} weight="fill" />duotone
<TextHTwo size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- design
- Keywords
- headingh2typographyprintdesigneditortexthtwoheading 2h2 symbolsecondary titletext heading
FAQ
- What is the text h two icon for?
- This icon signifies a secondary heading (H2) and is used in editors or design tools to denote or apply this specific text style.
- How do I use this icon in React?
- You can import and use it in your React application with: import { TextHTwo } from '@phosphor-icons/react'.
- What is the license for this icon?
- The Phosphor icon library, including the text h two icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Phosphor.
Looking for something else? Search Phosphor and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →