ICONYZ
English
Hacker News icon from selfh.st/icons

Hacker News icon

selfhst:hacker-news

The Hacker News icon (selfhst:hacker-news) 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
Tags
hackernews, new
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="#f60" d="M76.8 0h358.4C477.6 0 512 34.4 512 76.8v358.4c0 42.4-34.4 76.8-76.8 76.8H76.8C34.4 512 0 477.6 0 435.2V76.8C0 34.4 34.4 0 76.8 0"/><path fill="#fff" d="M124 91h51l81 162l81-164h51L276 293v136h-40V293z"/></svg>

How to use the Hacker News icon

React

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

<Icon icon="selfhst:hacker-news" width="24" />

Vue

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

<template>
  <Icon icon="selfhst:hacker-news" width="24" />
</template>

Svelte

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

<Icon icon="selfhst:hacker-news" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="selfhst:hacker-news"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/selfhst/hacker-news.svg" alt="Hacker News icon" width="24" height="24">

Related icons in selfh.st/icons

Hacker News icon in other icon sets

Hacker News icon FAQ

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

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

How do I add the Hacker News icon to a web page?

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

Browse all selfh.st/icons →