ICONYZ
English
Xml icon from Material Design Icons

Xml icon

mdi:xml

The Xml icon (mdi:xml) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Developer / Languages
Tags
code, developer, languages
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="m12.89 3l1.96.4L11.11 21l-1.96-.4zm6.7 9L16 8.41V5.58L22.42 12L16 18.41v-2.83zM1.58 12L8 5.58v2.83L4.41 12L8 15.58v2.83z"/></svg>

How to use the Xml icon

React

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

<Icon icon="mdi:xml" width="24" />

Vue

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

<template>
  <Icon icon="mdi:xml" width="24" />
</template>

Svelte

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

<Icon icon="mdi:xml" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mdi:xml"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/xml.svg" alt="Xml icon" width="24" height="24">

Xml icon in other icon sets

Xml icon FAQ

Is the Xml icon free for commercial use?

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

How do I use the Xml icon in React?

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

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

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

Browse all Material Design Icons →