Text Header 2 Lines 20 Regular
The text-header-2-lines-20-regular icon represents a regular text header with two lines, commonly used in user interfaces to denote a title or heading with a specific format.
Exports at 24 × 24 px
Code
Text Header 2 Lines 20 Regular in your framework
In any framework. Customize it above, and the code follows.
export const TextHeader2Lines20RegularIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" {...props}>
<path fill="currentColor" d="M2.502 1.999a.5.5 0 0 1 .5.5v2.5h3V2.5a.5.5 0 0 1 1 0v5.994a.5.5 0 0 1-1 0V6h-3v2.5a.5.5 0 1 1-1 0v-6a.5.5 0 0 1 .5-.5M2.5 15.998a.5.5 0 1 0 0 1h15a.5.5 0 0 0 0-1zM2 12.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5m7.452-8.83a1.21 1.21 0 0 1 1.39-.627c.617.183.86.861.479 1.442c-.165.251-.396.485-.681.738c-.1.088-.214.186-.334.287c-.193.165-.4.34-.58.509C9.103 6.6 8.5 7.352 8.5 8.5A.5.5 0 0 0 9 9h3.5a.5.5 0 0 0 0-1H9.562c.126-.483.434-.865.847-1.25c.172-.161.336-.3.508-.446c.123-.104.25-.212.386-.333c.304-.269.616-.574.854-.938c.708-1.08.296-2.555-1.03-2.949c-.964-.286-2.114.175-2.579 1.158a.5.5 0 1 0 .904.428"/>
</svg>
);Fluent UI System Icons
More like it
Icons that share its tags, in the same style.
Search Fluent UI System Icons
- text header45 Fluent UI System Icons icons
- 2 lines10 Fluent UI System Icons icons
- 20 regular6 Fluent UI System Icons icons
- typography647 Fluent UI System Icons icons
- document1,288 Fluent UI System Icons icons
- header146 Fluent UI System Icons icons
- title98 Fluent UI System Icons icons
- text1,527 Fluent UI System Icons icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Fluent UI System Icons icon from a prompt.
Get ProTags
Browse by tag
Text Header 2 Lines 20 Regular is tagged interface, document, typography and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Fluent UI System Icons MCP, with Pro
Ask for Text Header 2 Lines 20 Regular or any of 19,257 Fluent UI System Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Text Header 2 Lines 20 Regular icon means and where it's used, then how to install, style, label and license it.
The text-header-2-lines-20-regular icon represents a regular text header with two lines, commonly used in user interfaces to denote a title or heading with a specific format. This icon is part of the Fluent UI System Icons library and features a simple design. It is often used in software and web development to indicate a section or category title.
In real-world applications, this icon may appear in software such as Microsoft Office, where it could be used to represent a specific type of document or file. It could also be used in web development frameworks like React or Angular to create a consistent user interface.
From a UX perspective, the text-header-2-lines-20-regular icon communicates a clear and concise visual representation of a text header, helping users understand the structure and organization of content on a page or screen. It aids in navigation by providing a clear visual cue for users to identify and interact with specific elements.
Text Header 2 Lines 20 Regular is one of 19,257 icons in Fluent UI System Icons, made by Microsoft Corporation and released under MIT. It is drawn on a 20 × 20 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds TextHeader2Lines20RegularIcon to components/icons/fluent-text-header-2-lines-20-regular.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed TextHeader2Lines20RegularIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Text Header 2 Lines 20 Regular icon, or any of 19,257 Fluent UI System Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 20 × 20 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Text Header 2 Lines 20 Regular", so screen readers say what it does.
Yes. TextHeader2Lines20RegularIcon passes every SVG prop to the svg element, so <TextHeader2Lines20RegularIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Fluent UI System Icons, Microsoft Corporation and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are interface, document, typography, text, header and title. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Text Header 2 Lines 20 Regular in another set.
Fluent UI System Icons draws many icons in several styles: Filled and Regular next to the default. Open the library and pick a style above the grid to see Text Header 2 Lines 20 Regular's siblings in it.
4.9 out of 5 from 150+ developers
Install Text Header 2 Lines 20 Regular from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro