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

cursor-aura

v0.1.0

Published

Themed cursor shadows for the web

Readme

cursor-aura

Themed cursor shadows for the web. Replaces your default cursor with macOS-style SVG cursors that have a colored drop shadow matching your theme.

Still in beta. Works best in Chrome and Chromium-based browsers. Safari support is improving.

Installation

npm install cursor-aura

Usage

React

import { Aura } from 'cursor-aura'

export default function App() {
  return (
    <>
      <Aura color="#0C3EFF" />
      {/* rest of your app */}
    </>
  )
}

With CSS Variables

The color prop accepts CSS variables, so your cursor shadow automatically updates with your theme:

<Aura color="var(--theme-color)" />

Vanilla JS

For non-React sites:

<script type="module">
  import { AuraVanilla as Aura } from 'https://esm.sh/cursor-aura/vanilla'

  Aura.init({ color: '#0C3EFF' })

  // Update color later
  Aura.setColor('#FF6183')

  // Clean up
  Aura.destroy()
</script>

Props

| Prop | Type | Default | Description | |-------|--------|---------|------------------------------------------| | color | string | #000 | Shadow color (hex, rgb, or CSS variable) |

Accessibility

Aura automatically respects user preferences:

  • Reduced motion: Disabled when prefers-reduced-motion: reduce is set
  • Touch devices: Gracefully skipped (no cursor to shadow)

How It Works

Aura generates custom cursor SVGs with baked-in shadows and applies them via CSS custom properties. No runtime overhead — just static CSS after the initial render.

All cursor rules are injected inside @layer cursor-aura, so your own styles (whether unlayered or in a later @layer) can override them naturally. If you use Tailwind CSS 4 or another layer-based framework, Aura's cursors won't fight your overrides.

To control layer priority explicitly, declare the layer early in your CSS:

@layer cursor-aura, base, utilities;

The cursors are based on macOS cursor designs, inspired by Marcin Wichary's work. They include:

  • Default (arrow)
  • Pointer (hand)
  • Text (I-beam)
  • Grab (open hand)
  • Grabbing (closed hand)

License

MIT