Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

xsolla-uikit

gazaret1.4kISC2.15.3

Xsolla UIKit

xsolla, uikit, react, ui, kit

readme

Xsolla UI Kit

An enterprise-class UI design language and React-based implementation.

Usage

1. Installation

yarn add xsolla-uikit

2. Use Xsolla UI Kit components

import {Button} from 'xsolla-uikit';

export default () => (
  <Button type="button">Button</Button>
);

(Optional) Import on Demand

We strongly recommend using babel-plugin-import, which can convert the following code to the 'xsolla-uikit/lib/xxx' way:

import {Button} from 'xsolla-uikit';
// Will become `import Button from 'xsolla-uikit/lib/button'`

Development

For development instructions read Contributing guide