mbbiz
v0.0.1
Published
Angular UI components and design tokens for Mbbiz.
Maintainers
Readme
mbbiz
Angular UI components and design tokens for Mbbiz.
Install
npm install mbbizThis package expects the consuming app to provide Angular and NG-Zorro:
npm install @angular/common @angular/core @angular/forms @angular/platform-browser ng-zorro-antdTheme
Import the theme files once in the consuming application's global stylesheet:
@import 'mbbiz/theme.css';
@import 'mbbiz/zorro-bridge.less';theme.css contains the Mbbiz semantic tokens. zorro-bridge.less maps the supported token subset into NG-Zorro theme variables.
Usage
Import the standalone components you need from mbbiz:
import { MbbizButtonComponent, MbbizInputComponent } from 'mbbiz';@Component({
selector: 'app-root',
imports: [MbbizButtonComponent, MbbizInputComponent],
template: `
<mbbiz-button>Submit</mbbiz-button>
<mbbiz-input label="Username" placeholder="Enter username" />
`,
})
export class AppComponent {}Components
MbbizButtonComponentMbbizInputComponentMbbizSearchInputComponentMbbizPasswordInputComponentMbbizTextareaComponentMbbizFloatingLabelInputComponentMbbizAffixInputComponentMbbizAffixLabelInputComponentMbbizInputTagComponentMbbizDropdownComponentMbbizDropdownTagComponentMbbizDatepickerComponentMbbizModalComponentMbbizCheckboxComponentMbbizCheckboxGroupComponentMbbizRadioComponentMbbizRadioGroupComponentMbbizSwitchComponent
