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

@gemeente-denhaag/note

v2.0.1

Published

The Note component

Downloads

1,095

Readme

Note

npm (scoped) GitHub Workflow Status (branch)

Introduction

The note shows a message that is important and should stand out for users to notice.

When to use

Use notes when you need to inform or warn users about something important, such as exceptions or something not to forget to bring to an appointment. Notes can always be found in the body of a page.

Alternatives and related components

• Use an alert to inform users of important changes, ongoing circumstances, updates or changes to system status and if you need to communicate prominently.

Anatomy

The note consists of:

  1. Icon: shows what kind of note it is.
  2. Text: provides information about the note.

(Interactive) states

None.

Design properties

Typography

  • Text: TheSans/md/400

Colors

  • Icon: info svg color Blue/3, warning svg color Orange/3
  • Text: text color Grey/4

Structure

  • Icon: height and width 24px, padding-right 8px
  • Text: padding-top and padding-bottom 4px

Accessibility

Do not use in CMS template ‘Area live attribute’

Content guidelines

  • Notes should describe briefly and succinctly what matters.
  • Limit the text to one or two short sentences.

Best practices

Do's

Notes should:

  • Explain in as few sentences as possible what it is about.
  • Appear in the body of a page.
  • Used carefully and sparingly for only important information.
  • Use the default icons for info and warning statuses.

Don'ts

Notes should:

  • Not be shown in forms if, for example, there is an error.
  • Not show the same information that is already in the body text.
  • Not be used more than 2x on a page because otherwise it will get too much emphasis and the rest of the text will get less attention
  • Not rely on colour alone to convey meaning or tone.
  • Not be used for subsequent action. No button may be placed below it.

Usage

  • Info: Provide additional information to users.
  • Warning: Warn users about important information.

Aria Live

In case the note has been applied as reference in a form and will be updated by javascript, apply aria-live="polite" and aria-atomic=true" to the component. This way screenreaders will re-read the element when the component has been updated.

References

https://www.figma.com/file/JpoY3waVoQGlLQzQXTL9nn/Design-System---Gemeente-Den-Haag?node-id=8123%3A24065