Hacker News icon
fontisto:hacker-news
The Hacker News icon (fontisto:hacker-news) is a free SVG icon from the Fontisto set by Kenan Gündoğan. It is drawn on a 24 × 24 grid. Fontisto 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
- Fontisto
- Author
- Kenan Gündoğan
- License
- MIT
- Size
- 24 × 24
- Category
- Brand
- Tags
- hackernews, new
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0 0h24v24H0zm12.8 13.446l4.339-8.303h-1.871q-2.143 4.018-2.839 5.786l-.375.96l-.32-.75a49 49 0 0 0-3.022-6.243l.129.243H6.857l4.286 8.2v5.52H12.8z"/></svg>How to use the Hacker News icon
React
import { Icon } from "@iconify/react";
<Icon icon="fontisto:hacker-news" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fontisto:hacker-news" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fontisto:hacker-news" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fontisto--hacker-news]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fontisto -->
<div class="i-fontisto:hacker-news"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fontisto:hacker-news"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fontisto/hacker-news.svg" alt="Hacker News icon" width="24" height="24">Hacker News icon in other icon sets
Hacker News icon FAQ
Is the Hacker News icon free for commercial use?
Yes. Fontisto icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hacker News icon in React?
Install @iconify/react and render <Icon icon="fontisto: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/fontisto/hacker-news.svg" alt="Hacker News icon">, or paste the SVG code inline to style it with CSS.