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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@shohojdhara/atomix

v0.3.3

Published

Atomix Design System - A modern component library for web applications

Readme

Atomix Design System

A modern, accessible design system and component library for building beautiful user interfaces.

npm version License Downloads

Overview

Atomix is a modern, accessible design system and component library for building beautiful user interfaces. It provides a comprehensive set of 40+ production-ready components with consistent design language, accessibility compliance, and performance optimization.

Key Features

  • 40+ Production-Ready Components: Buttons, cards, forms, navigation, and more
  • Design System Compliance: Consistent design language with design tokens
  • Accessibility First: WCAG 2.1 AA compliant components
  • TypeScript Support: Full TypeScript definitions for all components
  • Responsive Design: Mobile-first responsive components
  • Dark Mode Support: Built-in dark mode support for all components
  • Tree-Shaking Support: Optimized for modern bundlers
  • Multiple Themes: Multiple built-in themes with easy customization
  • React & Vanilla JavaScript: Support for both React and vanilla JavaScript

Installation

npm install @shohojdhara/atomix

Usage

React

import { Button } from '@shohojdhara/atomix'; import '@shohojdhara/atomix/css';

function App() { return Hello World; }


### 🎨 Theme Management

Atomix provides a powerful, developer-friendly theming system with multiple options:

#### Quick Start with Pre-built Themes

```jsx
// Option 1: Import a pre-built theme
import '@shohojdhara/atomix/themes/flashtrade.css';

// Option 2: Dynamic theme switching
import { ThemeProvider, useTheme } from '@shohojdhara/atomix/theme';

function App() {
  return (
    <ThemeProvider>
      <YourApp />
    </ThemeProvider>
  );
}

Create Custom Themes

# Use the CLI to create a new theme
npx atomix create-theme my-theme

# Build your theme
npx atomix build-theme my-theme

# List available themes
npx atomix list-themes

Programmatic Theme Creation

import { quickTheme, ThemeProvider } from '@shohojdhara/atomix/theme-tools';

const myTheme = quickTheme('My Brand', '#FF5733', '#33FF57');

<ThemeProvider defaultTheme={myTheme}>
  <App />
</ThemeProvider>

📦 Pre-built Themes:

  • shaj-default - Default theme with light/dark modes (stable)
  • flashtrade - Crypto trading platform theme (stable)
  • boomdevs - Modern dark theme (beta)
  • esrar - Minimal light theme (beta)
  • mashroom - Psychedelic colorful theme (beta)
  • applemix - Apple-inspired glass morphism (experimental)

For complete documentation, see Developer Guide and Theme System Guide.

Styles

Atomix provides comprehensive styling through CSS or SCSS:

CSS

// Import the main CSS file
import '@shohojdhara/atomix/css';

// Or import the minified version
import '@shohojdhara/atomix/css/min';

SCSS

// Import the main SCSS file
@use '~@shohojdhara/atomix/scss' as atomix;

// Or import individual modules
@use '~@shohojdhara/atomix/scss/settings' as settings;
@use '~@shohojdhara/atomix/scss/tools' as tools;
@use '~@shohojdhara/atomix/scss/components' as components;

Build Process

The Atomix Design System uses a comprehensive build process to generate optimized assets:

Main Build

npm run build

This command will:

  1. Build the main JavaScript library (ESM and CJS formats)
  2. Generate TypeScript definitions
  3. Build the main CSS styles (dist/atomix.css and dist/atomix.min.css)

Individual Builds

# Build only the main styles
npm run build:styles

# Build only the themes
npm run build:themes

# Build only the main library
npm run rollup -c

Development

# Start Storybook for component development
npm run dev

# Run tests
npm test

# Run tests in watch mode
npm run test:watch

# Generate test coverage
npm run test:coverage

Storybook styles convention

To keep visual docs and any snapshots stable, choose one of the following and stick to it:

  • Preferred: load the built CSS from dist.

    • In your Storybook preview (e.g., .storybook/preview.ts/preview.js), import the bundled CSS once: import '@shohojdhara/atomix/css'
    • Before taking snapshots or publishing Storybook, ensure styles are compiled: yarn build:styles
  • Alternative (for live theming/dev): load the source SCSS.

    • Import from the SCSS entry point: import '@shohojdhara/atomix/scss'
    • This relies on your builder's SCSS pipeline; avoid mixing SCSS and built CSS in the same Storybook to prevent drift.

Notes:

  • CSS bundles produced by the styles build are deterministic: dist/atomix.css and dist/atomix.min.css.
  • CI should run yarn attw to validate package exports and types after changes.

Components

Atomix provides 40+ production-ready components organized into categories:

Design Tokens

Atomix uses design tokens for consistent design language:

  • Colors: Consistent color palette with light and dark mode variants
  • Spacing: Consistent spacing scale based on 4px grid
  • Typography: Consistent typography scale with responsive adjustments
  • Borders: Consistent border radius and width system
  • Shadows: Consistent shadow system for depth and elevation

Accessibility

All Atomix components are built with accessibility in mind:

  • WCAG 2.1 AA Compliant: All components meet WCAG 2.1 AA standards
  • Keyboard Navigation: Full keyboard navigation support
  • Screen Reader Support: Proper ARIA attributes and semantic HTML
  • Focus Management: Consistent focus indicators and management
  • Color Contrast: Proper color contrast ratios for readability

Browser Support

Atomix supports all modern browsers:

Contributing

Contributions are welcome! Please read our contributing guidelines for details on our code of conduct and development process.

License

Apache 2.0 © Shohojdhara