ICONYZ
English
Hacker News icon from Lineicons

Hacker News icon

lineicons:hacker-news

The Hacker News icon (lineicons:hacker-news) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons 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
Lineicons
Author
Lineicons
License
MIT
Size
24 × 24
Category
regular
Tags
hackernews, new
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3 3v18h18V3zm9.61 10.103v4.036h-1.278v-4.123L8.14 6.832h1.48c2.12 3.92 1.975 4.094 2.381 5.023c.493-1.103.203-.987 2.468-5.023h1.393z"/></svg>

How to use the Hacker News icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/lineicons/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. Lineicons 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="lineicons: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/lineicons/hacker-news.svg" alt="Hacker News icon">, or paste the SVG code inline to style it with CSS.

Browse all Lineicons →