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

@marcvintherdk/magazines-ui

v0.1.0

Published

React components and design tokens for the BN Magazines Design System, packaged for Figma Make kits.

Readme

@marcvintherdk/magazines-ui

React 18 components and design tokens for the BN Magazines Design System. The package is built so it can be used as a Figma Make kit.

Source of truth: BN Magazines Design System (Figma). It has 19 brands, light/dark modes and fluid sizing from 375 to 1440px.

What's inside

  • src/styles/tokens.css: generated from the Figma variables (brand and size collections plus every brand extension). Brand = [data-brand], dark = [data-theme="dark"], condensed = [data-condensed="true"]. Min/Max size modes became fluid clamp() values; layout widths switch at 1024px.
  • src/components: Button/IconButton/ButtonGroup, Label/Tag/Chip/StatusLabel, form fields, Teaser/TeaserGrid, Header/Footer/Breadcrumbs/Pagination, Byline/ArticleToolbar/Factbox, Text, Icon.
  • guidelines/: Make kit guidelines (Guidelines.md is the entry point).
  • demo/: playground with a brand and theme switcher (npm run dev, then open http://localhost:5188).

Scripts

npm run dev        # playground
npm run build      # dist/: index.js, index.d.ts, styles.css, tokens.css, fonts.css
npm run typecheck

Publishing and creating the Make kit

  1. Pick the npm scope and registry. Private packages need a Figma Organization or Enterprise plan for Make to read them. Update name in package.json.
  2. Run npm run build, then npm publish (add --access public for a public scoped package).
  3. In Figma Make: new Make file → Settings → Create a kit → Assemble your kit → add the npm package. Optionally add the published BN Magazines library for its styles too.
  4. Copy the contents of guidelines/ into the kit's guidelines/ folder (replace the generated Guidelines.md).
  5. Test: prompt Make for e.g. "Front page for Illustreret Videnskab" or "Article page for Historie in dark mode", check that it drifts nowhere, then Publish kit.

Regenerating tokens

When variables change, run scripts/export-tokens.figma.js against the Figma file. Use the Figma MCP use_figma tool or a dev plugin, with PART set to 1, 2 and 3 in turn. Concatenate the three outputs into src/styles/tokens.css. Never edit tokens.css by hand.

Known gaps (v0.1)

  • Logos: a text wordmark only. Brand SVG logos from the Figma Logo page are not exported yet.
  • Icons: a small inline outline set, not the full Figma icon library.
  • Not built yet: Article/Category heroes, audio and video players, recipe, product, table, calculator, hotspot, item collections, menu overlay, modals and banner ads.
  • Commercial fonts (Solido, Wulkan Display, Atlas Grotesk, Helvetica LT Std) are not bundled.