Hackerrank icon
A hand-drawn hackerrank 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
- Security
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
hackerrank
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 HackerrankIcon.tsx
import { SvgXml } from "react-native-svg";
const HackerrankIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.4C12.5 3.4 13 3.5 13.4 3.8L18.6 7C19.8 7.7 20.5 9.5 20.5 11.9S19.8 16.1 18.6 16.8L13.4 20C12.6 20.5 11.4 20.5 10.6 20L5.4 16.8C4.2 16.1 3.5 14.3 3.5 11.9S4.2 7.7 5.4 7L10.6 3.8C11 3.5 11.5 3.4 12 3.4Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.5 8.2L9.5 14.4"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.5 9.6L14.5 15.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.5 11.9L14.5 11.9"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.6 8.2L10.4 8.2L9.5 7.1Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M15.4 15.8L13.6 15.8L14.5 16.9Z"></path></svg>`;
<SvgXml xml={HackerrankIcon} 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 hackerrank.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.4C12.5 3.4 13 3.5 13.4 3.8L18.6 7C19.8 7.7 20.5 9.5 20.5 11.9S19.8 16.1 18.6 16.8L13.4 20C12.6 20.5 11.4 20.5 10.6 20L5.4 16.8C4.2 16.1 3.5 14.3 3.5 11.9S4.2 7.7 5.4 7L10.6 3.8C11 3.5 11.5 3.4 12 3.4Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.5 8.2L9.5 14.4"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.5 9.6L14.5 15.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.5 11.9L14.5 11.9"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.6 8.2L10.4 8.2L9.5 7.1Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M15.4 15.8L13.6 15.8L14.5 16.9Z"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/hackerrank.svg" width="24" height="24" alt="Hackerrank" />