Pixicons is a collection of pixelated icons designed specifically for React applications, perfect for enhancing your UI/UX projects with a retro flair.
To install Pixicons, run the following command:
npm i pixicons
Here’s how you can use Pixicons in your React components:
import { HomeIcon } from "pixicons";
function App() {
return <HomeIcon size={20} />;
}
Pixicons is an open-source project, and contributions are welcome! To collaborate, please follow these guidelines:
- Create icons using LibreSprite or Aseprite at a size of 16 x 16 px, leaving a 2-pixel margin.
- Convert your pixel art to SVG using the following tool: SVG Converter.
- Manually create the React components based on the existing structure in the project.
- Export your new components in the barrel file located in the
src
directory.
This project is licensed under the MIT License.