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

im-test-kit

v0.1.0

Published

InsuranceMarket UI Kit — React 18 component library for Figma Make. Built on Tailwind CSS v4 with a token-driven, light/dark design system.

Readme

im-test-kit

React 18 component library for the InsuranceMarket design system, packaged as a Figma Make kit. Built with Tailwind CSS v4 (CSS-first tokens), TypeScript, and Vite library mode. Light + dark themes, token-driven, zero icon dependencies.

Brand primary: deep ocean blue sky-800 (#075985). Mirrors the Figma file InsuranceMarket — Test UI Kit.

Install

npm install im-test-kit

react@^18 and react-dom@^18 are peer dependencies.

Usage

import { Button, QuoteCard, NavHeader } from 'im-test-kit'
import 'im-test-kit/styles.css' // once, at the app root

export default function App() {
  return (
    <>
      <NavHeader
        brandName="InsuranceMarket"
        links={[{ label: 'Car', active: true }, { label: 'Health' }]}
        actions={<Button variant="primary" size="sm">Get a quote</Button>}
      />
      <QuoteCard insurer="Falcon Assure" price={1620} period="/yr" highlighted
        badge={{ label: 'Best value', tone: 'success' }}
        features={[{ label: 'Comprehensive cover' }, { label: 'Roadside assistance' }]} />
    </>
  )
}

Components (17)

  • Atoms: Button · Badge · Input · Select · Checkbox · RadioGroup · Toggle
  • Molecules: FormField · SearchBar · Alert · InsuranceChip · StepIndicator
  • Organisms: NavHeader · QuoteCard · PolicyCard · InsuranceSelector · ComparisonRow

Plus the cn() class-merge helper and the INSURANCE_TYPES metadata map. See guidelines/ for full per-component usage.

Theming

  • Tokens are CSS variables defined in src/styles/tokens.css: a primitive layer (Tailwind palette) and a semantic layer (background, brand, danger, …).
  • Style with semantic Tailwind utilities (bg-brand, text-foreground, border-border) — they flip automatically in dark mode.
  • Dark mode is class-based: add dark to <html>.
document.documentElement.classList.toggle('dark')

Develop

npm install
npm run typecheck   # tsc --noEmit
npm run build       # -> dist/index.js, dist/index.d.ts, dist/style.css
npm run preview     # browse all 17 components in a local gallery (port 5190)

The preview/ gallery imports the kit from source and hot-reloads as you edit. It is dev-only and never published (the files field ships dist/ + guidelines/

  • README.md only).

The build externalizes React and emits a single precompiled dist/style.css containing all tokens + used utilities (Figma Make never runs Tailwind itself).

Publishing

This package can publish to either target. Update name first if needed.

A) Public npm registry

# name e.g. "@your-scope/ui" (public) or an unscoped name
npm publish --access public

B) Figma's private registry (Org/Enterprise)

For restricting the kit to your organization. An org admin must enable the private registry; then authenticate and publish with the scope Figma assigns (use a unique scope that doesn't collide with public npm, e.g. @insurancemarket-private/ui). Follow Figma's Bring your design system package docs for the exact registry URL and auth token steps.

Before either: npm pack --dry-run and confirm the tarball contains only dist/, guidelines/, README.md, and package.json — no src, no devDeps, no workspace: protocols.

Use it as a Figma Make kit

  1. Publish the package (above), or keep iterating locally first.
  2. In Figma Make: open a file → Settings → Create a kit.
  3. Add this npm package. Optionally also import the variables/styles from the published Figma library InsuranceMarket — Test UI Kit so designer tokens and code stay aligned.
  4. Attach the guidelines (this repo's guidelines/ folder) — Make relies on them to use components correctly.
  5. Test with a prompt (e.g. "build a car-insurance comparison page"), then Publish kit to an organization project so your team can select it.

License

UNLICENSED — internal/private use unless you change license in package.json.