# KanbanColumnProps (@salmonui/kanban)

> The KanbanColumnProps interface of @salmonui/kanban: Props of KanbanColumn: a column declared as an element (columnKey stands for key, which React reserves).

Canonical: https://salmonui.dev/docs/reference/kanban/KanbanColumnProps

```ts
import type { KanbanColumnProps } from '@salmonui/kanban';
```

Entry index: https://salmonui.dev/docs/reference/kanban (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/kanban.md).

## Reference

Kind: interface

```ts
interface KanbanColumnProps extends Omit<KanbanColumnDef, 'key'> {
    readonly columnKey?: KanbanKey | undefined;
}
```

Props of `KanbanColumn`: a column declared as an element (`columnKey` stands for `key`, which React reserves).

Members (14):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnKey` | `readonly columnKey?: KanbanKey \| undefined;` | optional |  |
| `keys` | `keys?: readonly KanbanKey[];` | optional, inherited | Several column values shown in one column; moves write the first. |
| `header` | `header: string;` | inherited | Header text; also the accessible name of the column. |
| `collapsible` | `collapsible?: boolean;` | optional, inherited | Shows the collapse toggle (default false). |
| `count` | `count?: boolean;` | optional, inherited | Shows the card count in the header (default true). |
| `renderHeader` | `renderHeader?: ((ctx: KanbanColumnContext) => ReactNode);` | optional, inherited | Replaces the header text content. Pure; the toggle, count and add button stay. |
| `min` | `min?: number;` | optional, inherited | WIP minimum. |
| `max` | `max?: number;` | optional, inherited | WIP maximum. |
| `addButton` | `addButton?: boolean;` | optional, inherited | Shows an add button at the end of every cell of the column. |
| `draggable` | `draggable?: boolean;` | optional, inherited | Cards may be dragged out of this column (default true). |
| `droppable` | `droppable?: boolean;` | optional, inherited | Cards may be dropped into this column (default true). |
| `allowedTargets` | `allowedTargets?: readonly KanbanKey[];` | optional, inherited | Columns that cards of this column may move to (default: every droppable column). |
| `hidden` | `hidden?: boolean;` | optional, inherited | Hides the column. |
| `className` | `className?: string;` | optional, inherited |  |
