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

@electra-ui/components

v1.2.0

Published

Electra UI system design components library

Readme

Electra UI components

Установка

Через Angular CLI (рекомендуется)

ng add @electra-ui/install

Схематика установит пакеты @electra-ui/core, @electra-ui/theme, @electra-ui/i18n, @electra-ui/helpers, @electra-ui/components, добавит dev-зависимость less и подключит глобальные стили.

Вручную

Обязательно — ядро, тема и интернационализация:

npm i @electra-ui/core
npm i @electra-ui/theme
npm i @electra-ui/i18n

Обязательно — helpers и компоненты:

npm i @electra-ui/helpers
npm i @electra-ui/components

@electra-ui/components объявляет peer-зависимости @angular/cdk, ngx-mask, @ng-web-apis/* — npm (7+) установит их автоматически вместе с пакетом.

Примечание: для версии 1.1.2 дополнительно установите dompurify (npm i dompurify) — он требуется компоненту иконок e-icon для санитизации внешних SVG. Начиная с версии 1.1.3 dompurify входит в зависимости пакета.

По необходимости — библиотека графиков:

npm i @electra-ui/charts

Глобальные стили

Добавьте стили в конфигурацию angular.json:

"styles": [
  // (Обязательно) Тема
  "node_modules/@electra-ui/theme/src/styles/styles.less",
  // (Обязательно) Компоненты
  "node_modules/@electra-ui/components/src/styles/styles.less"
],

Или добавьте импорты в корневой styles.less:

// (Обязательно) Тема
@import '~@electra-ui/theme/src/styles/styles.less';
// (Обязательно) Компоненты
@import '~@electra-ui/components/src/styles/styles.less';

Иконки

Иконки входят в состав пакета — дополнительная установка не требуется. Используйте компонент e-icon с локальными именами ME-иконок:

import { ElectraIconComponent } from '@electra-ui/components';
<e-icon icon="folder_x20" [size]="20"></e-icon>
<e-icon icon="search_x24" color="var(--Icon-Blue)"></e-icon>
  • Локальные иконки встроены в пакет (реестр ME-иконок, ассеты assets/icons-me).
  • Внешние SVG (строка или объект { name, data }) автоматически санитизируются через DOMPurify.
  • Каталог всех иконок — страница All Icons в документации.