ICONYZ
English
Shadcn Ui icon from theSVG

Shadcn Ui icon

thesvg:shadcn-ui

The Shadcn Ui icon (thesvg:shadcn-ui) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
theSVG
Author
thesvg.org
License
MIT
Size
24 × 24
Tags
shadcnui
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="M22.219 11.784L11.784 22.219a1.045 1.045 0 0 0 1.476 1.476L23.695 13.26a1.045 1.045 0 0 0-1.476-1.476M20.132.305L.305 20.132a1.045 1.045 0 0 0 1.476 1.476L21.608 1.781A1.045 1.045 0 0 0 20.132.305"/></svg>

How to use the Shadcn Ui icon

React

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

<Icon icon="thesvg:shadcn-ui" width="24" />

Vue

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

<template>
  <Icon icon="thesvg:shadcn-ui" width="24" />
</template>

Svelte

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

<Icon icon="thesvg:shadcn-ui" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--shadcn-ui]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:shadcn-ui"></div>

Web component

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

<iconify-icon icon="thesvg:shadcn-ui"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/shadcn-ui.svg" alt="Shadcn Ui icon" width="24" height="24">

Shadcn Ui icon in other icon sets

Shadcn Ui icon FAQ

Is the Shadcn Ui icon free for commercial use?

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

How do I use the Shadcn Ui icon in React?

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

How do I add the Shadcn Ui icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg/shadcn-ui.svg" alt="Shadcn Ui icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG icons →