🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@warp-ds/elements

Package Overview
Dependencies
Maintainers
7
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warp-ds/elements

Custom elements for Warp

Source
npmnpm
Version
2.2.0-next.8
Version published
Maintainers
7
Created
Source

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
<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.

Editor integration

Visual Studio Code

This module includes Custom HTML and CSS data for Visual Studio Code.

Add this to your settings.json and restart VS Code to get IntelliSense and inline documentation for Warp elements.

{
  "html.customData": [
    "./node_modules/@warp-ds/elements/dist/vscode.html-custom-data.json"
  ],
  "css.customData": [
    "./node_modules/@warp-ds/elements/dist/vscode.css-custom-data.json"
  ]
}

JetBrains products

We ship web-types.json which should get picked up automatically by JetBrains IDEA and similar products.

You should see code completions and inline docs for Warp elements when writing HTML.

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.

License

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

FAQs

Package last updated on 19 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts