Text Square icon
andrsrxn:text-square
The Text Square icon (andrsrxn:text-square) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Editor, Typography
- Tags
- textsquare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M15.24 2.76c2.83 0 4.24 0 5.12.88s.88 2.3.88 5.12v8.15c0 1.89 0 2.83-.59 3.42c-.58.58-1.52.58-3.4.58H6.74c-1.88 0-2.82 0-3.4-.58c-.6-.6-.6-1.53-.6-3.42V8.76c0-2.83 0-4.24.89-5.12c.88-.88 2.3-.88 5.12-.88z" opacity=".2"/><rect width="18.48" height="18.48" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="3" transform="rotate(90 0 21.24)scale(-1 1)"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 6.95v10.52m1.74 0h-3.48m6-9.29c0-.68-.55-1.23-1.23-1.23H8.97c-.68 0-1.23.55-1.23 1.23"/></g></svg>How to use the Text Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:text-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:text-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:text-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--text-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:text-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:text-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/text-square.svg" alt="Text Square icon" width="24" height="24">Related icons in andrsrxn/icons
Text Square icon in other icon sets
Text Square icon FAQ
Is the Text Square icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Text Square icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:text-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Text Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/text-square.svg" alt="Text Square icon">, or paste the SVG code inline to style it with CSS.