Package Exports
- @bravura/ui
- @bravura/ui/alert
- @bravura/ui/behavior
- @bravura/ui/common
- @bravura/ui/currency-input
- @bravura/ui/decimal-input
- @bravura/ui/discrete-input
- @bravura/ui/file-upload
- @bravura/ui/form-field
- @bravura/ui/icon-font
- @bravura/ui/package.json
- @bravura/ui/panel
- @bravura/ui/phone-number
- @bravura/ui/radio-panel
- @bravura/ui/selection-panel
- @bravura/ui/skeletons
- @bravura/ui/stepper
- @bravura/ui/tooltip
Readme
Bravura UI Components for Angular applications
This package contains a set of UI components built on top of Angular Material library and Component Development Kit. It supplements Angular Material in implementing Bravura UX Design System, which is an extension of the latest Material Design Specification.
Angular version compatibility
| BUI versions | Compatible Angular versions |
|---|---|
| ^2.0.0 | 14 |
| ^1.15.x | 12, 13 |
| 1 .. 1.14.x | 12 |
Setup
Install the package in your Angular project by using one of the commands below, according to the package manager chosen.
NPM:
npm install --save @bravura/uiYarn:
yarn add @bravura/uiImport the NgModule from one of the sub-packages where the component is provided. For example:
@import {RadioPanelModule} from '@bravura/ui/radio-panel'
@NgModule({
declarations: [MyComponent],
imports: [RadioPanelModule]
})
export class MyModule {}
Theming
To incorporate components' theming with Angular Material, you need to configure a custom theme, following the theming guide on the Angular Material document site. In the global style SASS partial where the Material theme is configured, add the BUI theme mixin reference to activate theming.
You may also need to include the CSS of custom font definitions for Material Icon Font into the global stylesheets.