Standalone Angular UI components with Bootstrap-friendly styling.
- DataGrid
- Pagination
- Typeahead
- Tree
- Splitter
- Stepper
- Chips
- Drag and drop
- Angular
>=21.0.0 <23.0.0 - RxJS
^7.8.0 - Bootstrap CSS in the consuming app
- Bootstrap Icons when icon-based examples are used
npm install @angular-bootstrap/ngbootstrap bootstrap bootstrap-iconsOptional integrations are installed only when you use those features:
npm install chart.js jspdf jspdf-autotable xlsxImport standalone components directly in your Angular component.
import { Component } from '@angular/core';
import { NgbDatagridComponent, type ColumnDef } from '@angular-bootstrap/ngbootstrap';
@Component({
selector: 'app-users-grid',
standalone: true,
imports: [NgbDatagridComponent],
template: `
<ngb-datagrid
[data]="users"
[columns]="columns"
[enableSorting]="true"
filterable="row"
[enablePagination]="true"
[pageSize]="10"
/>
`,
})
export class UsersGridComponent {
users = [
{ id: 1, name: 'Ava Patel', role: 'Admin' },
{ id: 2, name: 'Noah Chen', role: 'Editor' },
];
columns: ColumnDef[] = [
{ field: 'id', header: 'ID', type: 'number', width: 90, sortable: true },
{ field: 'name', header: 'Name', type: 'text', sortable: true, filterable: true },
{ field: 'role', header: 'Role', type: 'text', filterable: true },
];
}pnpm install
pnpm test
pnpm buildBuild output is written to dist/.