Xiaomi icon
simple-icons:xiaomi
The Xiaomi icon (simple-icons:xiaomi) is a free SVG icon from the Simple Icons set by Simple Icons Collaborators. It is drawn on a 24 × 24 grid. Simple Icons are released under the CC0 1.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
- Simple Icons
- Author
- Simple Icons Collaborators
- License
- CC0-1.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 0C8.016 0 4.756.255 2.493 2.516C.23 4.776 0 8.033 0 12.012s.23 7.235 2.494 9.497C4.757 23.77 8.017 24 12 24s7.243-.23 9.506-2.491S24 15.99 24 12.012c0-3.984-.233-7.243-2.502-9.504C19.234.252 15.978 0 12 0M4.906 7.405h5.624c1.47 0 3.007.068 3.764.827c.746.746.827 2.233.83 3.676v4.54a.15.15 0 0 1-.152.147h-1.947a.15.15 0 0 1-.152-.148V11.83c-.002-.806-.048-1.634-.464-2.051c-.358-.36-1.026-.441-1.72-.458H7.158a.15.15 0 0 0-.151.147v6.98a.15.15 0 0 1-.152.148H4.906a.15.15 0 0 1-.15-.148V7.554a.15.15 0 0 1 .15-.149m12.131 0h1.949a.15.15 0 0 1 .15.15v8.892a.15.15 0 0 1-.15.148h-1.949a.15.15 0 0 1-.151-.148V7.554a.15.15 0 0 1 .151-.149M8.92 10.948h2.046c.083 0 .15.066.15.147v5.352a.15.15 0 0 1-.15.148H8.92a.15.15 0 0 1-.152-.148v-5.352a.15.15 0 0 1 .152-.147"/></svg>How to use the Xiaomi icon
React
import { Icon } from "@iconify/react";
<Icon icon="simple-icons:xiaomi" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="simple-icons:xiaomi" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="simple-icons:xiaomi" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[simple-icons--xiaomi]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/simple-icons -->
<div class="i-simple-icons:xiaomi"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="simple-icons:xiaomi"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/simple-icons/xiaomi.svg" alt="Xiaomi icon" width="24" height="24">Xiaomi icon in other icon sets
Xiaomi icon FAQ
Is the Xiaomi icon free for commercial use?
Yes. Simple Icons are released under the CC0 1.0 license, which allows use in personal and commercial projects.
How do I use the Xiaomi icon in React?
Install @iconify/react and render <Icon icon="simple-icons:xiaomi" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Xiaomi icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/simple-icons/xiaomi.svg" alt="Xiaomi icon">, or paste the SVG code inline to style it with CSS.