Momentum UI React
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 the momentum-ui monorepo and found at https://github.com/momentum-design/momentum-ui/tree/main/react.
Checkout the documentation for documentation and live examples.
- Independent — pick and use only the components you need.
- Styled — override styles of components by
className
andstyle
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.
To use @momentum-ui/react in your application follow below steps:
npm i -S @momentum-ui/react
yarn add @momentum-ui/react
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>
- yarn - BSD-2-Clause
- @momentum-ui/core - MIT
- @momentum-ui/icons - MIT
- babili - MIT
- eslint - MIT
- stylelint - MIT
Want to contribute? Why not go through Developer's Guide to understand more technical details about the project and contribution guidelines to be adhered.
The changelog can be found here.
Copyright (c) 2017 Cisco Systems