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

@rakeyshgidwani/skyline-primitives

v0.1.29

Published

L2 primitive component library for the Skyline design system

Downloads

2,520

Readme

@rakeyshgidwani/skyline-primitives

L2 primitive component library for the Skyline design system. React components built on shadcn/ui + Tailwind v4, themed via L1 CSS vars from @rakeyshgidwani/skyline-tokens.


Install

npm install @rakeyshgidwani/skyline-primitives

Usage

// main.tsx — import a theme once at app root
import '@rakeyshgidwani/skyline-primitives/themes/jeremy'

import { Button, Input, Dialog } from '@rakeyshgidwani/skyline-primitives'

function App() {
  return (
    <Dialog>
      <Input placeholder="Enter value" />
      <Button variant="primary">Submit</Button>
    </Dialog>
  )
}

Switching themes

Change the imported theme file — one line:

import '@rakeyshgidwani/skyline-primitives/themes/donna'
// or
import '@rakeyshgidwani/skyline-primitives/themes/harvey'

Development

Install dependencies

npm install

Sync shadcn components

Populates vendor/ui/ with shadcn components at the pinned version. Run once on setup, re-run deliberately when upgrading.

npm run sync:shadcn

Development server

npm run dev

Type check

npx tsc --noEmit

Build

Full build — ESM bundle + theme CSS:

npm run build

Theme CSS only:

npm run build:css

Test

npm run test

Release

Bumps version, pushes tags, triggers prepublishOnly build.

| Command | What it does | |---|---| | npm run release:patch | 0.1.00.1.1 | | npm run release:minor | 0.1.00.2.0 | | npm run release:major | 0.1.01.0.0 |

Publish to npm:

npm publish

Architecture

skyline-primitives/
  vendor/ui/              ← shadcn components, NEVER modified (pinned, synced via CLI)
  src/
    components/           ← custom components
    styles/themes/        ← per-theme CSS (imports L1)
    lib/utils.ts          ← cn() helper
    index.ts              ← package root export
  tailwind.css            ← @theme block wiring L1 vars to Tailwind
  scripts/
    sync-shadcn.mjs       ← populates vendor/ui/
    build-css.mjs         ← bundles theme CSS
  docs/initial-spec/      ← full spec and component inventory

Design system layers

  • L1 — tokens: @rakeyshgidwani/skyline-tokens — raw CSS custom properties (colors, typography, spacing, etc.)
  • L2 — primitives: this package — React components styled via Tailwind utility classes that resolve to L1 vars at consumer build time

The vendor/ui/ rule

vendor/ui/ contains shadcn/ui components copied in by the CLI. These files are never manually modified. To extend a component, wrap it in src/components/.


Available components

126 components across 11 categories. See docs/initial-spec/components.md for the full inventory and build phase order.

  • Inputs · Forms · Navigation · Overlays · Feedback
  • Layout · Data Display · Typography · Charts
  • Media & Upload · Specialty

License

Private (not currently licensed for external use).