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

@salutejs/sdds-sbcom

v0.375.1

Published

Salute Design System / React UI kit for SDDS SBCOM web applications

Readme

Библиотека компонентов для вертикали SDDS SBCOM

license npm version typescript

Реализация компонентов для создания веб-приложений.

Компоненты реализованы с помощью React и поставляются в виде предсобранного CSS.

Ссылки

Установка

Требуются react и react-dom версии 16.13.1 или выше:

$ npm install --save react react-dom
$ npm install --save @salutejs/sdds-sbcom @salutejs-ds/sdds_sbcom

Варианты поставки

Единственный вариант поставки — предсобранный CSS.

| Точка входа | Реализация | Дополнительные зависимости | | ----------------------- | ------------------ | --------------------------- | | @salutejs/sdds-sbcom | предсобранный CSS | нет |

import { Button } from '@salutejs/sdds-sbcom';

Beta-компоненты доступны из точки входа @salutejs/sdds-sbcom/beta. Подробнее — в документации.

Подключение шрифтов

Типографическая система основана на фирменных шрифтах, они поставляются с CDN.

Добавьте два css-файла внутрь тега <head>.

<link
    href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400..700;1,400..700&display=swap"
    rel="stylesheet"
/>
<link rel="stylesheet" href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansTextMono.0.2.0.css" />

Подключение темы

Тема подключается один раз в корне приложения.

Примечание: Для Next.js — в pages/_app.tsx.

Тема включает в себя цветовые и типографические токены.

Доступны светлая и тёмная темы — sdds_sbcom__light и sdds_sbcom__dark.

import '@salutejs-ds/sdds_sbcom/css/sdds_sbcom__light.css';

Переключение темы в рантайме и подключение через css-модули описаны в документации.

Использование компонентов

// App.tsx
import { Button, BodyL } from '@salutejs/sdds-sbcom';
import '@salutejs-ds/sdds_sbcom/css/sdds_sbcom__light.css';

export const App = () => {
    return (
        <>
            <BodyL>Hello, SDDS SBCOM!</BodyL>
            <Button>Кнопка</Button>
        </>
    );
};

Дизайн-токены доступны в виде js-переменных из @salutejs-ds/sdds_sbcom/theme/tokens:

import { textPrimary } from '@salutejs-ds/sdds_sbcom/theme/tokens';

<p style={{ color: textPrimary }}>Пример использования токена</p>;

SSR и Next.js

  • Библиотека поддерживает React Server Components (App Router) только при явном использовании директивы 'use client' в модулях, импортирующих компоненты.
  • Добавьте пакеты в transpilePackages в next.config.js:
const nextConfig = {
    transpilePackages: ['@salutejs/sdds-sbcom', '@salutejs/plasma-new-hope', '@salutejs/plasma-icons', '@salutejs-ds/sdds_sbcom'],
};