@hxui/angular-next
v13.0.0-next.19
Published
An Angular library based on the [HXUI design system](https://next.hxui.io).
Downloads
44
Keywords
Readme
HXUI Angular
An Angular library based on the HXUI design system.
Installation
npm i @hxui/angular-next
Usage
Option 1: Import all web component modules into app module or shared module.
import { HxUiModule } from '@hxui/angular-next';
@NgModule({
imports: [HxUiModule.forRoot()]
})
export class AppModule {}
Option 2: Import each web component module that you need individually.
import { DropdownModule } from '@hxui/angular-next'
@NgModule({
imports: [DropdownModule, ...]
})
export class AppModule {}
IMPORTANT The following structural css needs to be included in the project's style file because the Material CDK has been used as part of this library.
// Structural css needed for CDK to work correctly
@import '~@angular/cdk/overlay-prebuilt.css';
@import '~@angular/cdk/a11y-prebuilt.css';
@import '~@angular/cdk/text-field-prebuilt.css';
Versions
| @hxui/angular-next | Angular | | ------------------ | ------- | | 13.x | 13.x |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.