Hackernews icon
A hand-drawn hackernews icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Brands
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
hackernews
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX HackernewsIcon.tsx
import { SvgXml } from "react-native-svg";
const HackernewsIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="3.8" y="3.8" width="16.4" height="16.4" rx="3.4"></rect><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8 7.6L12 11.8L16 7.6" pathLength="1" stroke-dasharray="1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 11.8L12 16.4" pathLength="1" stroke-dasharray="1"></path></svg>`;
<SvgXml xml={HackernewsIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG hackernews.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="3.8" y="3.8" width="16.4" height="16.4" rx="3.4"></rect><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8 7.6L12 11.8L16 7.6" pathLength="1" stroke-dasharray="1"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 11.8L12 16.4" pathLength="1" stroke-dasharray="1"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/hackernews.svg" width="24" height="24" alt="Hackernews" />