Gentleface › Text & formatting › text-size
text-size icon
text-sizeText size: font size, text size. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
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="M10.943 3.719L10.943 14L9 14L9 3.719L5.424 3.719L5.424 2L14.519 2L14.519 3.719L10.943 3.719ZM4.219 14L3.086 14L3.086 8.003L1 8.003L1 7L6.305 7L6.305 8.003L4.219 8.003L4.219 14Z"/></svg>
// Gentleface "text-size" (line-round), MIT. https://gentleface.com/icons/text-size
import type { SVGProps } from 'react';
export function TextSizeIcon(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="M10.943 3.719L10.943 14L9 14L9 3.719L5.424 3.719L5.424 2L14.519 2L14.519 3.719L10.943 3.719ZM4.219 14L3.086 14L3.086 8.003L1 8.003L1 7L6.305 7L6.305 8.003L4.219 8.003L4.219 14Z" />
</svg>
);
}Vue: see /icons/text-size.md
Svelte: see /icons/text-size.md
HTML img: see /icons/text-size.md
CSS: see /icons/text-size.md
Data URL: see /icons/text-size.md
Sprite: see /icons/text-size.md
SwiftUI: see /icons/text-size.md
Compose: see /icons/text-size.md
Android XML: see /icons/text-size.md
Flutter: see /icons/text-size.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 { TextSizeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- font size, text size
- Alternatives
text-size-increase: one step larger (increase-font-size)text-size-decrease: one step smaller (decrease-font-size)
- Also fits
- font: the font size (font-size)
- heading: the font size (font-size)
- Tags
- text-size, font-size, size, scale, letters, text, format, t
- Category
- Text & formatting
- Component name
TextSizeIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- 20 px redrawn
- 20 px redrawn, 24 px redrawn
- 16 px redrawn
- changed in 0.7.0
- Since
- version 0.1.0
Family 40
More text & formatting icons
align-center align-distributed align-justify align-justify-center align-justify-right align-left align-right asterisk border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right · all text & formatting icons
For agents
Metadata: /icons/text-size.json · Markdown: /icons/text-size.md · SVG: https://gentleface.com/svg/{style}/16/text-size.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/text-size.png