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

@nldd/design-system

v0.8.37

Published

Design System voor Nederlandse Digitale Dienst

Downloads

114

Readme

NLDD Design System

Web Components voor Nederlandse Digitale Dienst (Rijksoverheid).

Installatie

npm install @nldd/design-system

Gebruik

// Importeer CSS variabelen en fonts (vereist voor styling)
import '@nldd/design-system/styles';

// Importeer alle componenten
import '@nldd/design-system';

// Of importeer specifieke componenten
import { NLDDButton, NLDDCheckbox, NLDDSwitch } from '@nldd/design-system';
<!-- Gebruik in HTML -->
<nldd-button variant="accent-filled" text="Opslaan"></nldd-button>
<nldd-checkbox-field label="Akkoord met voorwaarden"></nldd-checkbox-field>
<nldd-switch-field label="Meldingen inschakelen"></nldd-switch-field>

Storybook

Bekijk de live component documentatie: https://minbzk.github.io/storybook/

Development setup

# Dependencies installeren
npm install

# Storybook starten
npm run storybook

# Open http://localhost:6006 voor de component documentatie

Componenten

nldd-button

| Attribuut | Type | Default | Beschrijving | | ------------------ | ------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | text | string | '' | Tekst van de button | | variant | string | neutral-tinted | primary, secondary, destructive, accent-filled, accent-outlined, accent-transparent, neutral-tinted, neutral-transparent, critical-tinted | | size | string | md | xs, sm, md | | disabled | boolean | false | Uitgeschakelde staat | | type | string | button | button, submit, reset | | full-width | boolean | false | Rekt de button uit over de volledige breedte van de container | | start-icon | string | '' | Icoon aan het begin van de button | | end-icon | string | '' | Icoon aan het einde van de button | | expandable | boolean | false | Voegt een icoon toe dat aangeeft dat de button een menu of popover opent | | href | string | undefined | Rendert als link (<a>) in plaats van een button | | accessible-label | string | '' | Toegankelijk label voor schermlezers | | popovertarget | string | '' | ID van het popover-element |

Zie de Storybook-documentatie voor alle componenten.

Styling structuur

CSS variabelen zijn georganiseerd in vijf lagen:

| Laag | Prefix | Beschrijving | | ---- | ------ | ------------ | | Primitives | --primitives-* | Basis waarden (kleuren, spacing, typography) | | Semantics | --semantics-* | Betekenisvolle variabelen (buttons, controls, surfaces) | | Components | --components-* | Component-specifieke variabelen | | Context | --context-* | Gedeelde variabelen voor communicatie tussen componenten | | Local | --_* | Interne variabelen binnen een component (niet bedoeld voor extern gebruik) |

/* Primitives — basis waarden */
--primitives-color-accent-100: #154273;
--primitives-space-16: 16px;

/* Semantics — verwijzen naar primitives */
--semantics-buttons-accent-filled-background-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
--semantics-controls-md-min-size: var(--primitives-space-44);

/* Components — verwijzen naar semantics of primitives */
--components-list-corner-radius: var(--semantics-controls-md-corner-radius);
--components-button-group-sm-gap: var(--primitives-space-6);

/* Context — communicatie tussen componenten */
--context-parent-background-color: var(--semantics-surfaces-background-color);

/* Local — intern binnen een component */
--_background-color: var(--context-parent-background-color);

Feedback en verzoeken

Mis je een component of wil je een wijziging voorstellen? Maak een issue aan.

Licentie (License)

EUPL-1.2