Code Monkey home page Code Monkey logo

pixel-icon-library's Introduction

Github Cover

HackerNoon's Pixel Icon Library

Introducing HackerNoon’s Pixel Icon Library, an open-source collection of 120+ Pixelated Icons. Meticulously designed on a 24px grid, ensuring perfect alignment and consistency to enrich your web/app/product/page/life experience. Inspired by HackerNoon’s retro design vibe, these icons capture the essence of the internet's good old days.

What’s in the Pixel Icon Library?

  • 120+ Pixelated Icons
  • Light SVG Files - 64.7 KB for the entire collection.
  • PNG files in 12px, 16 px, 24px, and 48px for both Light/Dark Mode
  • Multiple Ways to Use - Install via NPM Package (Coming Soon), Directly via HTML & CSS, and via a Figma component library.

Usage

HTML Image

Using the <img /> element directly in your HTML file.

<img src="path/to/icon.svg" alt="icon title" />

Inline HTML

You can paste the content of the icon file directly into your HTML code to display it on the page using the <svg> </svg> tag.

<body>
 // Add your SVG code here
</body>

CSS

Instead of using an HTML <img /> element, you can use CSS instead and apply it as a background to any other element.

body {
  background-image: url(path/to/icon.svg);
}

SVG as an object

You can also use the <object> tag to add the SVG to your page

<object data="path/to/icon.svg" width="24" height="24"> </object>

Using <iframe>

Keep in mind that using iframe is not recommended, because its hard to maintain

<iframe src="path/to/icon.svg"> </iframe>

SVG as embed

Most of the modern browsers have deprecated plugins, so this is not recommended.

<embed src="path/to/icon.svg" />

Figma

HackerNoon’s Pixel Icon Library is available as a Figma Community File. To use the components, log in to your Figma account and duplicate the file to your drafts.

Installation via NPM Package (Coming Soon🛠️)

License (CC BY 4.0 International)

  • The icons (.svg/.png) files are free to download and are licensed under CC 4.0
  • By downloading, it is assumed that you agree with the terms mentioned in CC 4.0.
  • You must give appropriate credit, provide a link to the license, and indicate if changes were made.
  • Other files in the repository which are not icons, are licensed under the MIT License.

Contribution

For more info on how to contribute please check our Contribution Guidelines

Designed with 💚 by Designers at HackerNoon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.