This is UI library for Angular
{
"@angular/cli": ">=8.0.0",
}
yarn add angular-mui
npm i --save angular-mui
// app.module.ts
import { MuiModule } from 'angular-mui';
@NgModule({
imports: [
MuiModule // add MuiModule to your imports
]
})
export class AppModule {}
Attribute | Description |
---|---|
mui-btn |
It will enhance button to mui button |
variant="text" |
mui text button with no elevation |
variant="contained" |
mui contained button with elevation |
variant="outline" |
mui outline button with no elevation |
Buttons background can be colored using color attribute to predefined color(primay,secondary,success) or any other color.
// app.component.html
<button mui-btn variant='text' color="primary">Primary</button> // text button
<button mui-btn variant='contained' color="primary">Primary</button> // contained button
<button mui-btn variant='outline' color="primary">Primary</button> // outline button
Mui Cards will be uploaded in next version.