npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pxlkit/parallax

v1.2.3

Published

Multi-layer 3D parallax pixel art icons — 10 interactive depth-based mouse-tracking icons with configurable perspective and layer separation

Readme


Overview

@pxlkit/parallax is a themed icon pack for the Pxlkit ecosystem containing 10 multi-layer 3D parallax icons. Each icon is composed of 3–5 independent pixel art layers that move at different speeds based on mouse position, creating an interactive depth effect.

Installation

npm install @pxlkit/core @pxlkit/parallax

@pxlkit/core is required as a dependency for rendering components.

Quick Start

import { ParallaxPxlKitIcon } from '@pxlkit/core';
import { CoolEmoji } from '@pxlkit/parallax';

// Interactive parallax — layers move with mouse
<ParallaxPxlKitIcon icon={CoolEmoji} size={64} colorful />

// Custom depth strength and perspective
<ParallaxPxlKitIcon icon={CoolEmoji} size={96} strength={24} perspective={300} />

// Non-interactive (static 3D)
<ParallaxPxlKitIcon icon={CoolEmoji} size={64} interactive={false} />

Icons

All icons in this pack are multi-layer parallax with interactive mouse tracking:

| Icon | Name | Description | | --- | --- | --- | | 😎 | CoolEmoji | Cool emoji with sunglasses | | ❤️ | PixelHeart | Layered pixel heart | | 📺 | RetroTV | Retro television set | | 🚀 | PixelRocket | Pixel rocket ship | | 👻 | GhostFriend | Friendly pixel ghost | | 💀 | NeonSkull | Neon-styled skull | | 🔮 | MagicOrb | Magic orb with glow | | 👑 | PixelCrown | Royal pixel crown | | 🕹️ | RetroJoystick | Retro game joystick | | 👁️ | CyberEye | Cyberpunk eye |

Using the Icon Pack

import { ParallaxPxlKitIcon } from '@pxlkit/core';
import { ParallaxPack } from '@pxlkit/parallax';

// Render all parallax icons
{ParallaxPack.map((icon) => (
  <ParallaxPxlKitIcon key={icon.name} icon={icon} size={64} colorful />
))}

Parallax Controls

| Prop | Type | Default | Description | | --- | --- | --- | --- | | icon | ParallaxPxlKitData | — | The parallax icon data | | size | number | — | Icon size in pixels | | colorful | boolean | false | Render with original palette colors | | strength | number | 16 | Depth movement strength in pixels | | perspective | number | 400 | CSS perspective value for 3D depth | | interactive | boolean | true | Enable/disable mouse tracking |

How Parallax Icons Work

Each parallax icon contains multiple layers, each with its own 16×16 grid and depth value. Layers closer to the viewer move more with mouse movement, creating a convincing 3D depth effect.

import type { ParallaxPxlKitData, ParallaxLayer } from '@pxlkit/core';

const icon: ParallaxPxlKitData = {
  name: 'cool-emoji',
  size: 16,
  category: 'parallax',
  layers: [
    { grid: [/* 16 rows */], depth: 0 },   // Background layer
    { grid: [/* 16 rows */], depth: 0.5 },  // Mid layer
    { grid: [/* 16 rows */], depth: 1 },    // Foreground layer
  ],
  palette: { Y: '#FFD700', B: '#000000' },
  tags: ['emoji', 'cool'],
  author: 'pxlkit',
};

Related Packages

| Package | Description | | --- | --- | | @pxlkit/core | Core rendering engine (required) | | @pxlkit/gamification | 51 icons — RPG, achievements, rewards | | @pxlkit/feedback | 33 icons — alerts, status, notifications | | @pxlkit/social | 43 icons — community, emojis, messaging | | @pxlkit/weather | 36 icons — climate, moon, temperature | | @pxlkit/ui | 41 icons — interface controls, navigation | | @pxlkit/effects | 12 animated VFX icons |

Documentation

Browse all icons and try the visual builder at pxlkit.xyz.

License

Pxlkit Asset License — free with attribution, with paid no-attribution terms in COMMERCIAL_TERMS.

Created by Joangel De La Rosa