ICONYZ
English
Coconut icon from Dinkie Icons

Coconut icon

dinkie-icons:coconut

The Coconut icon (dinkie-icons:coconut) is a free SVG icon from the Dinkie Icons set by atelierAnchor. It is drawn on a 12 × 12 grid. Dinkie 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
Dinkie Icons
Author
atelierAnchor
License
MIT
Size
12 × 12
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M3 12h5v-1h1v-1h1V9h1V4h-1v3H9v1H2V7H1V4H0v5h1v1h1v1h1ZM2 6h1V5H2ZM1 4h1V3H1Zm2 3h5V6H3ZM2 3h7V2H2Zm6 3h1V5H8Zm1-2h1V3H9Zm0 0"/></svg>

How to use the Coconut icon

React

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

<Icon icon="dinkie-icons:coconut" width="24" />

Vue

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

<template>
  <Icon icon="dinkie-icons:coconut" width="24" />
</template>

Svelte

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

<Icon icon="dinkie-icons:coconut" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[dinkie-icons--coconut]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="dinkie-icons:coconut"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/dinkie-icons/coconut.svg" alt="Coconut icon" width="24" height="24">

Coconut icon in other icon sets

Coconut icon FAQ

Is the Coconut icon free for commercial use?

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

How do I use the Coconut icon in React?

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

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

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

Browse all Dinkie Icons →