Skip to content

shnaaz/momentum-react-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Momentum UI React

license

Momentum React v2 is a resuable, component based, flexible React library available as npm module. It provides set of UI components and utilities based on Momentum Design.

The git repo can be cloned from https://github.com/momentum-design/momentum-react-v2.

Checkout the documentation for documentation and live examples.

Goals

  • Independent — pick and use only the components you need.
  • Styled — override styles of components by className and style properties.
  • Customizable — properties allow many different config options to suit your app.
  • Performant - high performance guaranteed with use of CSS3 Flexbox and non-bloated architecture.
  • Reliable — each component is rigorously tested.

Getting Started

This module is currently not published on npm. To use it, build and host it somewhere then alias @momentum-ui/react (the old monorepo) to the new module location.

Step 2. Import Momentum UI React components in your app

Use ES6 import statement to import the component that you want to use:

import { Button } from '@momentum-ui/react';
// or
import Button from from '@momentum-ui/react/button';
...
...

<div className="container">
  <Button name="primary" size="large">Welcome to Momentum UI React !</Button>
</div>

Tools & Frameworks

Package manager

  • yarn - BSD-2-Clause

Base framework

Momentum Design System Look & Feel

ES6 Minifier

ES6 Lint

CSS/SCSS Lint

CSS Utility Tool

JsUnit Testing framework

Contribution

Want to contribute? Why not go through Developer's Guide to understand more technical details about the project and contribution guidelines to be adhered.

Changelog

The changelog can be found here.

Copyright

Copyright (c) 2021 Cisco Systems