ICONYZ
English
Solid icon from Unicons

Solid icon

uil:solid

The Solid icon (uil:solid) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 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
Unicons
Author
Iconscout
License
Apache-2.0
Size
24 × 24
Category
Brand Logos
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="M20.4 7.1c-.1-.1-.2-.1-.4-.1c-.3 0-.5 0-.8-.1c-1.7-.4-2.9-1.7-3-3.4v-.4c0-.3-.2-.5-.5-.5h-3.1c-.3 0-.5.2-.5.5v12.5c0 1.2-1 2.1-2.1 2.1c-.7 0-1.3-.3-1.7-.8c-.7-.9-.5-2.3.4-3c.4-.3.8-.3 1.6-.3c.1 0 .3 0 .4-.1s.2-.2.2-.4V9.8c0-.2-.2-.5-.4-.5c-1.6-.2-3.2.2-4.4 1.2c-1.1 1-1.9 2.4-2.1 4.1c-.3 1.9.4 3.9 1.7 5.2c1.2 1.3 2.9 1.9 4.5 1.9s3.2-.6 4.4-1.8s1.9-2.8 1.9-4.5V9.9c1.2.6 2.5 1 3.8 1c.3 0 .5-.2.5-.5v-3c-.2-.1-.3-.2-.4-.3"/></svg>

How to use the Solid icon

React

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

<Icon icon="uil:solid" width="24" />

Vue

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

<template>
  <Icon icon="uil:solid" width="24" />
</template>

Svelte

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

<Icon icon="uil:solid" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--solid]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:solid"></div>

Web component

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

<iconify-icon icon="uil:solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/uil/solid.svg" alt="Solid icon" width="24" height="24">

Solid icon in other icon sets

Solid icon FAQ

Is the Solid icon free for commercial use?

Yes. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Solid icon in React?

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

How do I add the Solid icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/solid.svg" alt="Solid icon">, or paste the SVG code inline to style it with CSS.

Browse all Unicons →