# API of `@koobiq/components/table`

Documented on [Table](https://koobiq.io/en/components/table.md). NgModule: `KbqTableModule`.

## Components

### KbqTable (component)

A styling layer over a native `<table>`: it applies the library's spacing, typography and colors and
leaves the semantics to the platform. Sorting, resizing and virtual scrolling are out of scope — only
standard HTML table capabilities are available.

```ts
@Component({ selector: 'table[kbq-table]', exportAs: 'kbqTable' })
class KbqTable {
    readonly border = input<boolean>(false);
    readonly disableHover = input<boolean>(false);
    readonly stickyHeader = input<boolean>(false);
}
```

- `[border]`: `boolean` — Whether a line is drawn under every body row. Toggles the `kbq-table_bordered` class. Defaults to `false`.
- `[disableHover]`: `boolean` — Whether the background change on row hover is suppressed. Toggles the `kbq-table_disable-hover`
  class. Use it when rows are not interactive and the highlight would be misleading. Defaults to `false`.
- `[stickyHeader]`: `boolean` — Whether the header stays visible while the table scrolls. Toggles the `kbq-table_sticky-header`
  class. Defaults to `false`.
