ICONYZ
English
Anchor icon from Material Design Icons

Anchor icon

mdi:anchor

The Anchor icon (mdi:anchor) 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
Transportation + Water
Tags
transportation + water
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 2a3 3 0 0 0-3 3a3 3 0 0 0 2 2.83V9H8v2h3v8.92c-.74-.13-1.5-.34-2.21-.65c-.74-.32-1.39-.71-1.97-1.18s-1.04-.98-1.38-1.54L7 15l-4-3v3c0 .97.27 1.88.82 2.72A8.2 8.2 0 0 0 6 19.95c.87.64 1.84 1.14 2.88 1.5c1.05.36 2.09.55 3.12.55s2.07-.2 3.12-.56c1.04-.36 2.01-.86 2.88-1.49c.92-.64 1.63-1.38 2.18-2.23c.55-.84.82-1.75.82-2.72v-3l-4 3l1.56 1.55c-.34.56-.8 1.07-1.38 1.54s-1.23.86-1.97 1.18c-.71.31-1.47.52-2.21.65V11h3V9h-3V7.82A3 3 0 0 0 15 5a3 3 0 0 0-3-3m0 2a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1"/></svg>

How to use the Anchor icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Anchor icon in other icon sets

Anchor icon FAQ

Is the Anchor 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 Anchor icon in React?

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

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

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

Browse all Material Design Icons →