TeamXtend UI Kit - Angular 18 component library with Bootstrap 5 and NG Bootstrap
npm install teamxtend-ui-kitbash
npm install teamxtend-ui-kit
`
Peer Dependencies
This library requires the following peer dependencies:
`bash
npm install @angular/common@^18.0.0 @angular/core@^18.0.0 @angular/forms@^18.0.0 @angular/router@^18.0.0 @ng-bootstrap/ng-bootstrap@^17.0.0 bootstrap@^5.3.0
`
Setup
$3
Add Bootstrap CSS to your angular.json:
`json
{
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.scss"
]
}
`
Or import in your global styles.scss:
`scss
@import "bootstrap/scss/bootstrap";
`
$3
All components are standalone and can be imported directly:
`typescript
import { ButtonComponent } from 'teamxtend-ui-kit';
@Component({
standalone: true,
imports: [ButtonComponent],
// ...
})
export class MyComponent {}
``