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

@zilverenkruis/alert

v0.4.26

Published

The ZK Components for the alert component

Readme

Alert

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Design & API Documentation

zk's design guidelines: Alert

Installation

npm install @zilverenkruis/button

Basic Usage

HTML Structure

<Alert bsStyle="warning" closeLabel="Sluiten" onDismiss>
  <strong>Holy guacamole!</strong> Best check yo self, you're not looking too
  good.
</Alert>

Styles

@import "@zilverenkruis/button"

Variants

Style Customization

CSS Classes

CSS Class | Description --- | --- c-alert | Mandatory. Defaults to an info alert. c-alert--success | Optional. Styles ... c-alert--success-2 | Optional. Styles ... c-alert--info | Optional. Styles ... c-alert--info-2 | Optional. Styles ... c-alert--warning | Optional. Styles ... c-alert--warning-2 | Optional. Styles ... c-alert--danger | Optional. Styles ... c-alert--danger-2 | Optional. Styles ... c-alert--no-radius | Optional. Styles ... c-alert--inside-top | Optional. Styles ... c-alert--inside-bottom | Optional. Styles ... c-alert--small | Optional. Styles ... c-alert--large | Optional. Styles ...

Sass Mixins

To customize a button's color and properties, you can use the following mixins.

Basic Sass Mixins

MDC Button uses MDC Theme's primary color by default. Use the following mixins to customize it.

Mixin | Description --- | --- mdc-button-filled-accessible($container-fill-color) | Sets the container fill color for a contained (raised or unelevated) button, and updates the button's ink, icon, and ripple colors to meet accessibility standards

Advanced Sass Mixins

These mixins will override the color of the container, ink, outline or ripple. It is up to you to ensure your button meets accessibility standards.

Mixin | Description --- | --- mdc-button-container-fill-color($color) | Sets the container fill color to the given color. mdc-button-icon-color($color) | Sets the icon color to the given color. mdc-button-ink-color($color) | Sets the ink color to the given color, and sets the icon color to the given color unless mdc-button-icon-color is also used. mdc-button-corner-radius($corner-radius) | Sets the corner radius to the given number (defaults to 2px). mdc-button-horizontal-padding($padding) | Sets horizontal padding to the given number. mdc-button-outline-color($color) | Sets the outline color to the given color. mdc-button-outline-width($width, $padding) | Sets the outline width to the given number (defaults to 2px) and adjusts padding accordingly. $padding is only required in cases where mdc-button-horizontal-padding is also included with a custom value.

Caveat: Edge and CSS Custom Properties

text...