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

@phyxius/atoms

v0.0.11

Published

Basic building blocks for web applications

Readme

Atoms

Basic building blocks of web applications

List of components

  • Textbox
  • Button
  • Label

Installation

npm install @phyxius/atoms

Features

  • Inverted CSS adoption
  • Interface based components
    • interaction through props
  • Composition
    • Atomic components compose to create complex components binding through props (interfaces)
  • Skin as a HOC
  • Behavior as a HOC

Details

Themeable

Define color palette
	AccentColorLight3
	AccentColorLight2
	AccentColorLight1
	AccentColor
	AccentColorDark1
	AccentColorDark2
	AccentColorDark3
	TextColorDark
	TextColorLight
	

Fluent Colors:

https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/xaml-theme-resources#the-xaml-color-ramp-and-theme-dependent-brushes

  • Colors: https://docs.microsoft.com/en-us/windows/uwp/design/style/color

  • Styles: https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/xaml-styles

  • Base is for text.

  • Alt is the inverse of Base.

  • Chrome is for top-level elements, such as navigation panes or command bars.

  • List is for list controls.

  • Low/Medium/High refer to the intensity of the color.

aaRRGGBB format HEX8 to rgba converter https://jsfiddle.net/teddyrised/g02s07n4/embedded/result/

fonts - families, weights
	Type     || Size (px)(rem) | Font Weight      | Line Height (px)(rem)
	(Poppins)
	----        ---------   	 -----------        ----------------
	Header   || 46|3.07        | ExtraLight (200) | 56|3.73
	Subheader|| 34|2.27        | ExtraLight (200) | 40|2.67
	Title    || 24|1.6         | Light      (300) | 28|1.87
	Subtitle || 20|1.33        | Regular    (400) | 24|1.6
	Base     || 15|1           | SemiBold   (600) | 20|1.33
	Body     || 15|1           | Regular    (400) | 20|1.33
	Caption  || 12|0.8         | Regular    (400) | 14|0.93

Button Design

Base

  • background-color: BaseLow
  • color: BaseHigh
  • border: none

Hover

  • border:

Mouse Down

Disabled

  • color: BaseMediumLow
const theme = {
	colors: {
		themes: {
			dark: {
				colors: {
					baseLow: rgba(255, 255, 255, 0.2),
					baseMediumLow: rgba(255, 255, 255, 0.4), // disabled UI but also borders
					baseMedium: rgba(255, 255, 255, 0.6), // secondary text
					baseMediumHigh: rgba(255, 255, 255, 0.8),
					baseHigh: rgba(255, 255, 255, 1), // primary text
					listLow: rgba(255, 255, 255, 0.1),
					listMedium: rgba(255, 255, 255, 0.2),
					listAccentLow: rgba(0, 120, 215, 0.6), // list selected BG
					listAccentMedium: rgba(0, 120, 215, 0.8),
					listAccentHigh: rgba(0, 120, 215, 0.9), // input box selected border, checkbox, radio button, toggle BG
					chromeLow: rgba(23, 23, 23, 1),
					chromeMediumLow: rgba(43, 43, 43, 1), // pane backgrounds
					chromeMedium: rgba(31, 31, 31, 1),
					chromeHigh: rgba(118, 118, 118, 1),
					chromeBlackLow: rgba(0, 0, 0, 0.2),
					chromeBlackMediumLow: rgba(0, 0, 0, 0.4),
					chromeBlackMedium: rgba(0, 0, 0, 0.8),
					chromeBlackHigh: rgba(0, 0, 0, 1),
					chromeWhite: rgba(255, 255, 255, 1)
				}
			},
			light: {
				colors: {
					baseLow: rgba(0, 0, 0, 0.2),
					baseMediumLow: rgba(0, 0, 0, 0.4), // disabled UI but also borders
					baseMedium: rgba(0, 0, 0, 0.6), // secondary text
					baseMediumHigh: rgba(0, 0, 0, 0.8),
					baseHigh: rgba(0, 0, 0, 1), // primary text
					listLow: rgba(0, 0, 0, 0.1),
					listMedium: rgba(0, 0, 0, 0.2),
					listAccentLow: rgba(0, 120, 215, 0.6), // list selected BG
					listAccentMedium: rgba(0, 120, 215, 0.8),
					listAccentHigh: rgba(0, 120, 215, 0.9), // input box selected border, checkbox, radio button, toggle BG
					chromeLow: rgba(242, 242, 242, 1),
					chromeMediumLow: rgba(242, 242, 242, 1), // pane backgrounds
					chromeMedium: rgba(230, 230, 230, 1),
					chromeHigh: rgba(204, 204, 204, 1),
					chromeBlackLow: rgba(0, 0, 0, 0.2),
					chromeBlackMediumLow: rgba(0, 0, 0, 0.4),
					chromeBlackMedium: rgba(0, 0, 0, 0.8),
					chromeBlackHigh: rgba(0, 0, 0, 1),
					chromeWhite:  rgba(255, 255, 255, 1)
				}
			}
		}
	},
	fonts: {
		caption: {
			family: 'poppins',
			size: 0.8rem,
			weight: 400,
			lineHeight: 0.93
		},
		body: {
			family: 'poppins',
			size: 1rem,
			weight: 400,
			lineHeight: 1.33
		},
		base: {
			family: 'poppins',
			size: 1rem,
			weight: 600,
			lineHeight: 1.33
		},
		subtitle: {
			family: 'poppins',
			size: 1.33rem,
			weight: 400,
			lineHeight: 1.6
		},
		title: {
			family: 'poppins',
			size: 1.6rem,
			weight: 300,
			lineHeight: 1.87
		},
		subHeader: {
			family: 'poppins',
			size: 2.27rem,
			weight: 200,
			lineHeight: 2.67
		},
		header: {
			family: 'poppins',
			size: 3.07rem,
			weight: 200,
			lineHeight: 3.73
		}
	}
}