Nature's Powerful Meme

    TypeScript icon, indicating that this package has built-in type declarations

    51.1.0 • Public • Published

    This project is using for visual regression testing. npm version Build status master branch

    DSO Toolkit - Design System van het Digitaal Stelsel Omgevingswet (DSO)

    De DSO Toolkit bestaat uit documentatie en een stijlgids. Daarnaast worden er twee implementaties geleverd: CSS en Web Components. De Web Components krijgen voor Angular en React wrappers, zie issue #915.

    Getting started

    Zie voor actuele documentatie.

    NPM registry

    npm install dso-toolkit --save-dev

    Bundle CSS

    Import or bundle dso-toolkit/dist/dso.css.


    The toolkit and component library are distributed to Use the table below to resolve the branch/channel to the base url:

    branch channel url
    master stable
    tags only releases

    The same goes for the component library:

    branch channel url
    master stable
    tags only releases
    <link rel="stylesheet" href="[master|VERSION]/dso.css" />

    For Web Components:

    <script type="module" src="[master|VERSION]/core/dso-toolkit.esm.js"></script>
    <script nomodule src="[master|VERSION]/core/dso-toolkit.js"></script>

    The referenced scripts are very small: Only the actually used Web Components are lazy loaded. For more information:

    Develop or mockups

    To work on the DSO Toolkit using components and variants or create mockups of pages, forms or components you need Node 16 and Yarn. See on how to contribute.

    Either install Yarn with

    npm install --global yarn

    or use Yarn with npx:

    npx yarn <<<my commands here>>>
    git clone
    cd dso-toolkit
    yarn install


    Depending on the work being done, development can be done in several environments:


    This environment is used to develop new components in Storybook. Storybook is built around stories and since this project has multiple Storybooks (one for each implementation).

    The easiest way to start this environment is with one of the following commands:

    yarn start
    yarn start --react
    yarn start --all

    This will run the corresponding Storybook(s). Since these commands contain a colon (:), these commands can be run from anywhere in the project.

    The following processes are started:

    • default: CSS in watch mode, Stencil in watch mode, Storybook and Cypress
    • --react: CSS in watch mode, Stencil in watch mode, Storybook for React components
    • --all: CSS in watch mode, Stencil in watch mode, Storybook, and Storybook for React components

    This will start Stencil on http://localhost:45333, Storybook on http://localhost:45000 and the Cypress GUI. Since Stencil and Storybook are running it's possible to develop the components, but keep in mind the tests run in a production environment: This means no Stencil development tools like HMR.


    Development of Leaflet plugins is package transcendent. Run the following command from root:

    yarn start:leaflet
    yarn start:react-leaflet

    This will start Stencil (http://localhost:45333) and Storybook (http://localhost:45000) in production (no live reload / HMR) and the Leaflet plugins development environment on http://localhost:41234 or the React Leaflet development environment on http://localhost:42345.


    Node 16. For development on the DSO Toolkit you also need Yarn.


    Ports used during development:

    • 41234 - Leaflet plugins dev app
    • 42345 - React Leaflet plugins dev app
    • 43300 - Docusaurus
    • 45333 - Stencil
    • 45000 - Storybook for HTML/CSS + Web Components
    • 56406 - Storybook for React components
    • 46006 - Storybook for Angular Components




    npm i dso-toolkit

    DownloadsWeekly Downloads






    Unpacked Size

    1.5 MB

    Total Files


    Last publish


    • vollemelk