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

@magiclabs/ui-components

v1.49.2

Published

πŸ’… A theme-able library of reusable UI components

Readme

πŸ’… Magic UI Components

A theme-able library containing reusable ui components

πŸ“– Getting Started

Setup node version

Current dev node version is 20.10

Please install node version manager nvm and use it to switch the node version

cd /path/to/ui-components
nvm use

Setup NPM Token

Follow NPM documentation to generate a token with access to private packages.

Next, you'll need to assign your NPM token to an environment variable in your preferred shell.

export NPM_TOKEN="00000000-0000-0000-0000-000000000000"

Refer to NPM's CI documentation for further information and troubleshooting help.

Setup Figma Token

Go to https://figma.com, click your name in the top left corner, and go to settings. Scroll down to Personal access tokens and generate one with the default settings. Copy and enter it in the .env.local file for FIGMA_API_TOKEN.

Install Packages

Install NPM dependencies using PNPM:

pnpm install

πŸ” Development

Development Scripts

| NPM Script | Description | | ------------------------ | --------------------------------------------------------------------------------- | | pnpm lib:dev | Start building the component library in development mode. | | pnpm lib:build | Build the component library for production. | | pnpm lib:publish | Cut a release for the current build | | pnpm docs:dev | Start the Storybook environment in development mode. | | pnpm docs:build | Build the Storybook environment for production. | | pnpm test | Run local tests. | | pnpm test:watch | Run local tests and watch for changes | | pnpm test:ci | Run CI optimized tests. | | pnpm test:tree-shaking | Test the component library for tree-shaking compatibility. |

Opening a Pull Request

  1. Open a pull request from your fork/branch to the upstream master branch of this repository.
  2. Add a label for the semver update corresponding to your changes: patch, minor, or major.
  3. A maintainer will review your code changes and offer feedback or suggestions if necessary. Once your changes are approved, a maintainer will merge the pull request for you and publish a release.

Cutting a release

We use auto as our continuous delivery tool. Cutting a release is just a matter of merging to master. For pre-releases, you can create a next branch as the base for your experimental/W.I.P. feature. Please familiarize yourself with the documentation for auto if you are in a position to cut a release.

πŸ”— Installation

Integrating your app with Magic UI requires our client-side NPM package:

# Using PNPM:
pnpm add @magiclabs/ui-components