Momentum UI Angular
@momentum-ui/angular
Momentum UI Angular is a UI framework for implementing Cisco Momentum Design into web apps and sites.
Table of Contents
Install
Install and manage the Momentum UI Angular using NPM. You may useyarn
or npm
. By default, yarn/npm installs packages to nodemodules/.npm install @momentum-ui/angular --save
or
yarn add @momentum-ui/angular
Usage
NgModule
Import the components that you would like to use in the NgModule and declare them in the "imports" using theforRoot()
function.import BadgeModule from '@momentum-ui/angular/lib/badge';
// or
import { BadgeModule } from '@momentum-ui/angular';
@NgModule({
imports: [
BadgeModule.forRoot()
]
})
Then import the components into the components where you will use them.
import BadgeComponent from '@momentum-ui/angular/lib/badge';
//or
import { BadgeComponent } from '@momentum-ui/angular';
Contribute
See the contributing file!PRs accepted.