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

@winnicodes/winnimal-ui

v0.4.1

Published

A minimal CSS design system with optional React components — warm neutrals, gold accents, full dark mode support.

Readme

winnimal-ui

A minimal CSS design system with optional React components — warm neutrals, gold accents, full dark mode support.

Installation

npm install @winnicodes/winnimal-ui

Peer dependencies (only required when using React components):

npm install react react-dom lucide-react

Usage

Full stylesheet (recommended)

import '@winnicodes/winnimal-ui/index.css'

Includes tokens, base reset, and all component styles.

Selective imports

import '@winnicodes/winnimal-ui/tokens.css'     // CSS custom properties only
import '@winnicodes/winnimal-ui/base.css'        // Reset + typography
import '@winnicodes/winnimal-ui/components.css'  // All UI components
import '@winnicodes/winnimal-ui/treeview.css'    // TreeView component
import '@winnicodes/winnimal-ui/draglist.css'    // Drag & drop list

App shell blocks

Pre-built layout patterns, imported separately:

import '@winnicodes/winnimal-ui/blocks/sidebar-layout.css'
import '@winnicodes/winnimal-ui/blocks/login.css'

React components

import { CodeSnippet, Select, TreeView, Sortable, SortableItem, SortableItemHandle } from '@winnicodes/winnimal-ui'
import type { SelectOption, TreeNode } from '@winnicodes/winnimal-ui'

Components

CSS-only

All components are usable with plain HTML and CSS classes — no JavaScript required.

| Component | Classes | |---|---| | Button | btn btn-primary · btn-secondary · btn-danger · btn-ghost · btn-icon | | Badge | badge badge-primary · badge-secondary · badge-success · badge-warning · badge-danger | | Input | input · input-group · input-group-text | | Textarea | textarea | | Dropdown / Menu | menu · menu-item · menu-divider · menu-label | | Modal | modal-overlay · modal · modal-sm · modal-lg · modal-header · modal-body · modal-footer | | Toast | toast-container · toast · toast-info · toast-success · toast-warning · toast-danger | | Tabs | tabs · tab · tab.active · tab-panel | | Pagination | pagination · page-item · page-item.active | | Checkbox | checkbox-group · checkbox | | Radio | radio-group · radio | | Switch / Toggle | switch | | Chip / Tag | chip · chip-remove | | Spinner | spinner · spinner-sm · spinner-lg | | Card | card · card-header · card-body · card-footer | | Table | table · table-striped | | Alert | alert alert-info · alert-success · alert-warning · alert-danger | | Progress | progress · progress-bar | | Tooltip | [data-tooltip] | | <kbd> | styled natively |

React components

| Component | Description | |---|---| | <Select> | Custom styled select matching the .menu dropdown | | <CodeSnippet> | Syntax-highlighted code block with copy button | | <TreeView> | Collapsible file/folder tree | | <Sortable> / <SortableItem> | Drag-and-drop sortable list |


Dark mode

Add data-theme="ember-noir" to any ancestor element (typically <html> or <body>):

<html data-theme="ember-noir">

Toggle in JavaScript:

document.documentElement.dataset.theme =
  document.documentElement.dataset.theme === 'ember-noir' ? '' : 'ember-noir'

App shell blocks

Sidebar layout

<div class="app-shell">
  <header class="app-header">…</header>
  <aside class="sidebar">
    <div class="sidebar-scroll">
      <nav>
        <a class="sidebar-item active">Dashboard</a>
        <a class="sidebar-item">Settings</a>
      </nav>
    </div>
  </aside>
  <main class="main-content">
    <div class="main-container">…</div>
  </main>
</div>

Login panel

<div class="login-wrap">
  <div class="login-panel">
    <div class="login-brand-block">…</div>
    <form class="login-form">
      <div class="login-field">
        <label>E-Mail</label>
        <input class="input" type="email" />
      </div>
      <button class="btn btn-primary login-submit">Anmelden</button>
    </form>
  </div>
</div>

Design tokens

All values are exposed as CSS custom properties under the --wi- prefix and use the rgb() channel format for composability with opacity:

color: rgb(var(--wi-primary-500));
color: rgb(var(--wi-primary-500) / 0.6);

Key semantic tokens:

| Token | Usage | |---|---| | --wi-brand | Primary brand color | | --wi-on-brand | Text on brand-colored backgrounds | | --wi-surface | Default page background | | --wi-surface-raised | Card / popover background | | --wi-surface-overlay | Modal / tooltip background | | --wi-border | Default border color | | --wi-text | Primary text | | --wi-text-muted | Secondary / placeholder text | | --wi-info / --wi-success / --wi-warning / --wi-danger | Semantic status colors |


License

MIT