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

@liujip0/components

v0.2.25

Published

Just a simple components library for my own personal use!

Readme

@liujip0/components

Just a simple components library for my own personal use!

CSS variables to customize:

| Variable | Description | Default | | --------------------------------- | -------------------------------------------------------------------------------- | -------------------- | | --text-font-family | Text font family | sans-serif | | --text-body-size | Size of body text | 1em | | --text-h1-size | Size of h1 text | 2em | | --text-h2-size | Size of h2 text | 1.5em | | --text-label-size | Size of labels for input components | 0.9em | | --text-helperText-size | Size of helper text for input components | 0.75em | | | | | | --color-primary | Primary theme color | blue | | --color-primary-contrastText | Text color when background color is --color-primary | white | | --color-secondary | Secondary theme color | orange | | --color-secondary-contrastText | Text color when background color is --color-secondary | white | | --color-background | Background color | white | | --color-background-contrastText | Text color when background color is --color-background | black | | --color-paper | Background color for modals, dialogs, popups, snackbars, etc. | gray | | --color-paper-contrastText | Text color when background color is --color-paper | black | | --color-error | Color to indicate errors | red | | | | | | --z-index-backdrop | z-index of backdrops or overlays | 99 | | --z-index-snackbar | z-index of snackbars | 100 | | --z-index-modal | z-index of modals, dialogs, popups, etc. | 101 | | --z-index-tooltip | z-index of tooltips | 102 | | | | | | --border-radius | Border radius for buttons, input components, etc. | 0 | | --border-width | Border width for buttons, input components, etc. | 1px | | --input-height | [Only used in the Counter component] Calculated height of an Input component | calc(37.6px + 8px) | | --hover-dim | Filter effect to apply to buttons, etc. on hover | brightness(0.8) | | | | | | --table-cell-padding | Padding for table cells | 8px | | --table-border-width | Border width for tables | 3px | | --table-cell-border-width | Border width for cells within tables | 2px |