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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@nl-rvo/css-heading

v2.1.0

Published

Heading CSS component

Downloads

9

Readme

Heading

Wanneer gebruik je een heading?

Je gebruikt een heading om duidelijk te maken dat het om een koptekst gaat. De content van dit component wordt altijd bepaald door het te wrappen in de h-element. Hieronder een aantal voorbeelden als je de CSS package gebruikt en als je de React Package gebruikt

CSS

Als je de CSS classes gaat toepassen dan moeten alle classes gebruikt worden op het h-element. De volgende classes zijn aanwezig:

  • utrecht-heading-(number 1 - 6)
  • rvo-heading
  • rvo-heading--margin-(number 1 - 6) | Als je margin wilt toepassen. Nummer moet gelijk zijn aan het h-element dat gebruikt wordt.
  • rvo-heading--normal | Als de font-weight normal moet zijn.

Als de content van een heading uit meerdere items bestaat, dan deze classes toepassen om ruimte tussen elementen te geven.

  • rvo-heading--gap-sm | Als je h1 of h2 gebruikt, deze class toepassen.
  • rvo-heading--gap-xs | Bij de overige h-elementen deze class toepassen.

React

Import als gebruikelijk en wrap de inhoud in de <Heading>-tags.

Iconen gebruiken

Heading ondersteund ook het gebruik van het <Icon> component dat aangeboden wordt in ROOS. Als je een icoon toepast dan wordt de kleur en size al bepaald door de CSS, dus deze hoef je niet te declareren als parameters voor het icoon.

Richtlijnen

  • Gebruik maximaal één h1.
  • Zorg ervoor dat de tekst in de heading duidelijk aangeeft waar de pagina of onderstaande tekst over gaat.
  • Bij het gebruik van een heading met zowel dikgedrukte als normale tekst kun je de class utrecht-heading--mixed gebruiken. Deze class zorgt ervoor dat de heading standaard niet dikgedrukt is zodat je delen van de tekst dikgedrukt kunt maken met <strong> elementen.
  • Sla geen heading niveau’s over. Na een of meerdere H2’s komen een of meerdere H3’s. Na een of meerdere H3’s komen een of meerdere H4’s, etc.