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/image

v2.0.1

Published

Image component

Readme

Image

Four image variants: image only, image with caption, image, image with download, image with caption and download.

When to use

Use images where content may benefit from a supporting example to clarify information.

Alternatives and related components

None.

Anatomy

The image consists of:

  • Picture
  • Caption text (optional): gives the image additional context or provides source attribution
  • Download link (optional): shows the download option
  • Divider: line under the caption text and navigational link

(Interactive) states

None.

Design properties

Typography

  • Caption text: TheSans/sm/400
  • Download link [see: navigational-links]

Colors

  • Caption text: text color Grey/4

Structure

Desktop

  • Picture: padding-bottom 16px
  • Download link: padding-left 24px
  • Divider [see: divider]
  • Image: margin-bottom 32px

Mobile

  • Image: padding-bottom 16px
  • Download icon: size 24px, padding-left 16px
  • Divider [see: divider]
  • Image: margin-bottom 24px

Aspect ratio

The aspect ratio that is being used for images, is 16:9.

Use of images

Header image

The header image appears above the content. It will always take space on 1 column.

Standard images

Standard images appear after the text or below it. There can be multiple images below each other. It will always take space on 1 column.

Left or right aligned image

Standard, news and event templates allow images that are aligned left or right in the page. They will always take space on 1 of the two columns.

Image gallery

The gallery is a bundle of images, where there are at least 2 images next to or below each other. The images are always left aligned in a gallery. They will always take space on 1, 2 or 3 columns.

Accessibility

Images must always be supported with text alternatives which are descriptive of the information they present. Alternative text is read out by screen readers for users with visual impairments and where an image does not load. Text should never be included as part of the image as this will not be read out by screen readers or translated by automated translators.

W3C gives guidance on how to make images accessible.

Content guidelines

None.

Best practices

Do's

Images should:

  • Illustrate concrete things (for example, animals, I.D. cards, plate stickers), not abstract concepts (for example, light, holistic, synergy)
  • Be optimized for the web to reduce the file size as much as possible while maintaining a reasonable quality

Don'ts

Images should:

  • Not be unrelated to the page’s subject matter
  • Not be too small to show important details, especially if viewed on mobile devices
  • Not have text on it

References

  • https://designsystem.ontario.ca/docs/basics/images.html