/uikit

Primary LanguageTypeScriptMIT LicenseMIT

@yandex-cloud/uikit · npm package CI storybook

A set of React components for building rich web applications.

Install

npm install --save-dev @yandex-cloud/uikit @yandex-cloud/i18n

Usage

import React from 'react';
import {Button} from '@yandex-cloud/uikit';

const SubmitButton = <Button view="action" size="l" />;

I18N

Some components contain prepared text. For changing language use configure function.

index.js

import {configure} from '@yandex-cloud/uikit';

configure({
  lang: 'en',
});

Development

To start the dev storybook

npm run start