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

@webtides/element-library

v0.2.0

Published

A set of web components built with @webtides/element-js

Readme

element-library

IMPORTANT: The elements are work in progress and subject to major (& breaking) changes until the 1.0 release. Until then, we would encourage everyone to use pinned versions and not rely on semantic versioning.

A set of web components built with @webtides/element-js

Introduction

@webtides/element-library provides a set of pre-built custom elements based on @webtides/element-js with performance and accessibility in mind. They provide a starting point for rapidly building UIs without having to re-implement the same elements over and over again.

Demo

See our live Storybook to preview examples of all our elements.

Installation

npm i --save @webtides/element-library

Usage

Register all components at once:

import '@webtides/element-library/all';

Register a single component (tree-shakable):

import '@webtides/element-library/accordion/define';

Import a component class without registering it:

import { Accordion } from '@webtides/element-library/accordion';

Theming

Components are headless by default — no theme imported means no opinionated colors, borders, or shadows. To opt in to a coherent look, import one of the shipped themes:

import '@webtides/element-library/themes/default.css'; // neutral, system-feeling
import '@webtides/element-library/themes/high-contrast.css'; // WCAG-AAA-leaning

Each theme defines the library's --el-* design-token contract at :root and uses light-dark(), so a single import covers both light and dark color schemes. You can override individual tokens to customize, or ship a full custom theme using the same pattern — see the Theming guide in the live Storybook for the token reference, custom states, and CSS Parts.

Components

| Package | Description | Version | | ------------------ | ----------------------------------------------------------------------------- | ------- | | accordion | Single Accordion element | 0.1.0 | | accordion-group | Accordion group to hold multiple elements | 0.1.0 | | amount-field | A simple element to create amount stepping input fields | 0.1.1 | | button | A themeable button with variants, sizes, icon slots, caret and loading | 0.1.0 | | carousel | A carousel element that wraps the glide.js library for sliding elements | 0.1.1 | | checkbox-field | | 0.1.1 | | dialog | A modal dialog built on the native <dialog> element | 0.1.0 | | dropdown | A dropdown element | 0.1.0 | | form-field | | 0.1.0 | | input-field | | 0.1.0 | | lazy-src | | 0.2.0 | | notification | An inline alert / toast with variants, auto-dismiss and a live region | 0.1.0 | | password-field | A masked password input with an optional show/hide reveal toggle | 0.1.0 | | radio-field | A single-choice radio group built on a native fieldset | 0.1.0 | | scroll-to | | 0.1.0 | | scroll-to-top | | 0.1.0 | | select-field | | 0.1.0 | | slider | CSS only slider element to slide child elements | 0.4.3 | | sticky | | 0.2.0 | | svg-use | | 0.1.0 | | switch-field | An on/off toggle backed by a native checkbox with role="switch" | 0.1.0 | | tab-group | A tab group wraps a list of tab-links and tab-panels and shows one at a time | 0.1.0 | | tab-link | A link that serves as a label for one of the tab panels to display that panel | 0.1.0 | | tab-panel | The element that contains the content associated with a tab | 0.1.0 | | textarea-field | | 0.1.0 | | transition-classes | An element that applies classes for various stages of a transition | 0.1.0 |

Contributing & Development

For contributions and development see contributing docs

License

@webtides/element-library is open-sourced software licensed under the MIT license.