@megafon/ui-core

React UI components library.


Keywords
react, react-components, ui, ui-components, ui-kit
License
MIT
Install
npm install @megafon/ui-core@5.9.1

Documentation

megafon-ui

MegaFon React UI components library.

lerna Commitizen friendly

Documentation can be found here.

How to use

MegaFon components library consists of the following npm packages:

  • ui-core npm (scoped with tag)

  • ui-shared npm (scoped with tag)

  • ui-icons npm (scoped with tag)

  • ui-helpers npm (scoped with tag)

Install using commands:

npm install @megafon/ui-core
npm install @megafon/ui-shared
npm install @megafon/ui-icons
npm install @megafon/ui-helpers

UI components from @megafon/ui-core and @megafon/ui-shared packages require CSS custom properties available in global scope.

Add import of those properties in your project:

import "@megafon/ui-core/styles/colors.css";

Contributing

Follow CONTRIBUTING.md and CODE_OF_CONDUCT.md.