Skip to content

Commit

Permalink
Merge pull request #5 from halfmage/viewbox-fix
Browse files Browse the repository at this point in the history
Viewbox fixes and new icons
  • Loading branch information
halfmage authored Mar 13, 2021
2 parents 2839491 + 20e4933 commit 26a7418
Show file tree
Hide file tree
Showing 464 changed files with 1,403 additions and 471 deletions.
39 changes: 21 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
![alt text](cover.jpg "Pixelarticons Cover")

# [Pixelarticons.com](https://pixelarticons.com "Pixelarticons - Website")
# Pixelarticons

![npm](https://img.shields.io/npm/v/pixelarticons.svg?color=green&label=npm&style=popout-square)
![npm](https://img.shields.io/npm/dt/pixelarticons.svg?color=blue&style=popout-square)

## What ist pixelarticons?
359 careful handmade pixel art icons based on a 24x24 grid and `currentColor` fills. All icons were made individually using rectangles to recreate a non-anti-aliased look. It makes use of subtle padding for each icon. It is recommended to use the icons with a width and height of 24px, 48px, 72px, 96px because on all scales outside of 24px the icons will appear blurry.

Finest handmade pixelart icons based on a 24x24 grid. For retro vibes.
## How to get the icons

- From the [🌐 Pixelarticons website](https://pixelarticons.com "Pixelarticons - Website")
- Duplicate the [🎨 Pixelarticons Figma file](https://www.figma.com/community/file/952542622393317653/Pixelarticons)
- Use them directly in your code: 👇

## Gettings Started
### Use any icons staticly from CDN
```html
<!-- get the file icon from unpkg -->
<img src="https://unpkg.com/pixelarticons@latest/svg/file.svg" />

### Using svg

```javascript
npm install pixelarticons
// or
yarn add pixelarticons
<!-- get the file icon from jsdelivr -->
<img src="https://cdn.jsdelivr.net/npm/pixelarticons@latest/svg/file.svg>
```
### Install via package manager
```bash
npm i pixelarticons # or yarn add pixelarticons
```

By installing the npm-package your are able to access all icons from the `svg` folder via import:

```jsx
// import the file.svg icon directly
import File from "pixelarticons/svg/file.svg";
```

Or us the svg code directly:
### Insert plain svg code
```html
<!-- the file.svg directly in html -->
Expand All @@ -38,9 +41,9 @@ Or us the svg code directly:
## Current tasks
- [x] Figma file with components
- [x] Updating svg source code for all icons
- [x] Convert all rectangles into svg-paths
- [ ] Make public figma-file with icon library
- [x] Updating SVG source code for all icons
- [x] Convert all rectangles into SVG-paths
- [X] Make public Figma-file with icon library
- [ ] Add a new filled set
- [ ] Add a new 32x32 set
- [ ] Add brands and social media icons
Expand Down
Binary file modified cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixelarticons",
"version": "1.3.0",
"version": "1.3.1-0",
"description": "Finest handmade pixelart icons.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion svg/4g.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/4k-box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/4k.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/5g.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions svg/ab-testing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/ac.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/add-box-multiple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/add-box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/add-col.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/add-grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/add-row.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/alert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/align-center.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/align-justify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/align-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/align-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/analytics.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/anchor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/android.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/animation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/archive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/arrow-bar-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/arrow-bar-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/arrow-bar-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion svg/arrow-bar-up.svg
4 changes: 3 additions & 1 deletion svg/arrow-down-box.svg
4 changes: 3 additions & 1 deletion svg/arrow-down.svg
4 changes: 3 additions & 1 deletion svg/arrow-left-box.svg
4 changes: 3 additions & 1 deletion svg/arrow-left.svg
4 changes: 3 additions & 1 deletion svg/arrow-right-box.svg
4 changes: 3 additions & 1 deletion svg/arrow-right.svg
4 changes: 3 additions & 1 deletion svg/arrow-up-box.svg
4 changes: 3 additions & 1 deletion svg/arrow-up.svg
4 changes: 3 additions & 1 deletion svg/arrows-horizontal.svg
4 changes: 3 additions & 1 deletion svg/arrows-vertical.svg
4 changes: 3 additions & 1 deletion svg/art-text.svg
4 changes: 3 additions & 1 deletion svg/article-multiple.svg
4 changes: 3 additions & 1 deletion svg/article.svg
Loading

0 comments on commit 26a7418

Please sign in to comment.