gentleface

Gentleface › Text & formatting › type-x

type-x icon

Type x: clear formatting, remove formatting. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.5L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z"/></svg>
React
// Gentleface "type-x" (line-round), MIT. https://gentleface.com/icons/type-x
import type { SVGProps } from 'react';

export function TypeXIcon(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="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L12.5 2C12.641 2 12.759 2.048 12.856 2.144C12.952 2.241 13 2.359 13 2.5L13 4.5C13 4.641 12.952 4.759 12.856 4.856C12.759 4.952 12.641 5 12.5 5C12.359 5 12.241 4.952 12.144 4.856C12.048 4.759 12 4.641 12 4.5L12 3L8 3L8 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.5L7 3L3 3L3 4.5C3 4.641 2.952 4.759 2.856 4.856C2.759 4.952 2.641 5 2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9.146 9.146C8.951 9.342 8.951 9.658 9.146 9.854L10.793 11.5L9.146 13.146C8.951 13.342 8.951 13.658 9.146 13.854C9.342 14.049 9.658 14.049 9.854 13.854L11.5 12.207L13.146 13.854C13.342 14.049 13.658 14.049 13.854 13.854C14.049 13.658 14.049 13.342 13.854 13.146L12.207 11.5L13.854 9.854C14.049 9.658 14.049 9.342 13.854 9.146C13.658 8.951 13.342 8.951 13.146 9.146L11.5 10.793L9.854 9.146C9.658 8.951 9.342 8.951 9.146 9.146Z" />
    </svg>
  );
}
Vue
Vue: see /icons/type-x.md
Svelte
Svelte: see /icons/type-x.md
HTML img
HTML img: see /icons/type-x.md
CSS
CSS: see /icons/type-x.md
Data URL
Data URL: see /icons/type-x.md
Sprite
Sprite: see /icons/type-x.md
SwiftUI
SwiftUI: see /icons/type-x.md
Compose
Compose: see /icons/type-x.md
Android XML
Android XML: see /icons/type-x.md
Flutter
Flutter: see /icons/type-x.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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.

Meaning

Use it for
clear formatting, remove formatting
Example
Clear formatting
Don’t confuse with
  • eraser: eraser erases strokes or pixels on a canvas (eraser)
Not for
  • paste plain text (use clipboard-type): type-x clears formatting from selected text; it does not paste
Built from
type + x
Tags
text, type, font, typography, typeface, letter, t, x
Category
Text & formatting
Component name
TypeXIcon
History
  • added

Family 21

More text & formatting icons

For agents

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

Feedback