ICONYZ
English
Format Text icon from css.gg

Format Text icon

gg:format-text

The Format Text icon (gg:format-text) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
css.gg
Author
Astrit
License
MIT
Size
24 × 24
Tags
formattext
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.5 3H3v3.5h1V4h2.5zm2 1V3H11v1zM13 4h2.5V3H13zm4.5-1v1H20v2.5h1V3zM21 8.5h-1V11h1zm0 4.5h-1v2.5h1zm0 4.5h-1V20h-2.5v1H21zM15.5 21v-1H13v1zM11 21v-1H8.5v1zm-4.5 0v-1H4v-2.5H3V21zM3 15.5h1V13H3zM3 11h1V8.5H3zm8-1.5H7v-2h10v2h-4v7h-2z"/></svg>

How to use the Format Text icon

React

import { Icon } from "@iconify/react";

<Icon icon="gg:format-text" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="gg:format-text" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="gg:format-text" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--format-text]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:format-text"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="gg:format-text"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/gg/format-text.svg" alt="Format Text icon" width="24" height="24">

Related icons in css.gg

Format Text icon in other icon sets

Format Text icon FAQ

Is the Format Text icon free for commercial use?

Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Format Text icon in React?

Install @iconify/react and render <Icon icon="gg:format-text" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Format Text icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/format-text.svg" alt="Format Text icon">, or paste the SVG code inline to style it with CSS.

Browse all css.gg icons →