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 use yarn
or npm
. By default, yarn/npm installs packages to node_modules/.
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 the forRoot()
function.
import BadgeModule from '@momentum-ui/angular/lib/badge';
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';
import { BadgeComponent } from '@momentum-ui/angular';
Contribute
See the contributing file!
PRs accepted.
License
© 2014-2019 Cisco and/or its affiliates. All Rights Reserved.