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

@warp-ds/elements

v2.0.2

Published

Custom elements for Warp

Downloads

1,230

Readme

Warp-ds Elements

Welcome to @warp-ds/elements, a collection of Web Components built with Lit to be used to build interfaces based on the Warp Design System. This repository is maintained by the Warp Core Team and is home to the @warp-ds/elements library.

How to contribute

If you'd like to contribute to @warp-ds/elements, start by reviewing the contributing guidelines.

How to use

Installation

Install by using npm/pnpm or by adding a script link:

Install using npm

npm install @warp-ds/elements

Install using pnpm

pnpm add @warp-ds/elements

Using a direct link to Eik

<script src="https://assets.finn.no/pkg/@warp-ds/elements/v1"></script>

Import components

This project builds both the whole Elements package and separate component packages that are published to EIK, making it possible for the user to choose to either import all of the components:

import '@warp-ds/elements';

or a specific component:

import '@warp-ds/elements/components/toast';

Documentation

For information on the components available in the package and how to use them, see the Warp Design System documentation.

Releases

This project is continuously published to NPM and Eik using a next tag (e.g. 1.1.0-next.1). Anyone needing to use the latest changes of this package can point to the next version while waiting for the stable release.

Changelog

Detailed changes for each release can be found in the CHANGELOG file.

How to test component-classes locally

It is possible to test changes that have been made to component-classes from the @warp-ds/css package but that has not yet been published to Eik. You simply need to link the @warp-ds/css package in this repository and add @unocss-placeholder inside the static styles of the component that you want to test:

static styles = [
    css`
      @unocss-placeholder
      `,
  ]

Run pnpm dev to see the linked styles in action.

Once you have tested it locally, make sure to remove the @unocss-placeholder from the static styles before pushing any changes to the repository.

License

@warp-ds/elements is available under the Apache-2.0 software license.