ICONYZ
English
Onyx icon from selfh.st/icons

Onyx icon

selfhst:onyx

The Onyx icon (selfhst:onyx) is a free SVG icon from the selfh.st/icons set by selfh.st. It is drawn on a 512 × 512 grid. selfh.st/icons are released under the CC BY 4.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
selfh.st/icons
Author
selfh.st
License
CC-BY-4.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-rule="evenodd" d="M256 0L99.4 71L256 142l156.6-71zm0 369.9L99.4 441L256 512l156.6-71zM441 99.4L512 256l-71 156.6L370 256zM142.1 256L71 99.4L0 256l71 156.6z"/></svg>

How to use the Onyx icon

React

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

<Icon icon="selfhst:onyx" width="24" />

Vue

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

<template>
  <Icon icon="selfhst:onyx" width="24" />
</template>

Svelte

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

<Icon icon="selfhst:onyx" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="selfhst:onyx"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/selfhst/onyx.svg" alt="Onyx icon" width="24" height="24">

Related icons in selfh.st/icons

Onyx icon FAQ

Is the Onyx icon free for commercial use?

Yes. selfh.st/icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Onyx icon in React?

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

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

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

Browse all selfh.st/icons →