ICONYZ
English
Coffin icon from Game Icons

Coffin icon

game-icons:coffin

The Coffin icon (game-icons:coffin) is a free SVG icon from the Game Icons set by GameIcons. It is drawn on a 512 × 512 grid. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Game Icons
Author
GameIcons
License
CC-BY-3.0
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="m312.094 21.97l59.094 119.686h52.093L362.595 22l-50.5-.03zM173 22.687l-63.594 127.218l65.844 345.75l114.688.094L354.467 150L291.626 22.75zm16.063 76.28h88.78v18.688h-88.78V98.97zm0 36.22h88.78v18.687h-88.78zm182.5 25.156L309 495.438l47.25.03l68.313-335.124z"/></svg>

How to use the Coffin icon

React

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

<Icon icon="game-icons:coffin" width="24" />

Vue

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

<template>
  <Icon icon="game-icons:coffin" width="24" />
</template>

Svelte

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

<Icon icon="game-icons:coffin" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="game-icons:coffin"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/game-icons/coffin.svg" alt="Coffin icon" width="24" height="24">

Coffin icon in other icon sets

Coffin icon FAQ

Is the Coffin icon free for commercial use?

Yes. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Coffin icon in React?

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

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

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

Browse all Game Icons →