Angular Kanban Board Component | ng-hub-ui-board

Angular Kanban board component with drag and drop, custom card templates, column workflows and CSS variables for business dashboards.

API reference

Here's the full contract for board: everything you can bind, listen to, project and theme, gathered in one place. Wire up what you need and style what you want — it's standalone and signal-friendly.

Inputs

No inputs documented yet.

Outputs

No outputs documented yet.

Templates

No templates documented yet.

CSS variables

Theme every pixel with 24 CSS variables. Override them at :root or scope them to a wrapper.

Column Layout & Structure

Control the overall layout, spacing, and structure of board columns

VariableDefaultTypeDescription
--hub-column-bg#f8f9facolor Background color for board columns #ffffff#f8f9fatransparent
--hub-column-color#212529color Text color within board columns #333333rgb(33, 37, 41)var(--bs-body-color)
--hub-column-border-color#dee2e6color Border color around board columns #e9ecefvar(--bs-border-color)transparent
--hub-column-border-width1pxlength Width of column borders 02px0.5rem
--hub-column-border-radius0.375remlength Border radius for column corners 00.5rem1rem16px
--hub-column-gap1remlength Spacing between columns 0.5rem1.5rem2rem
--hub-column-padding1remlength Internal padding within columns 0.75rem1.25rem1.5rem

Column Headers & Footers

Customize the appearance of column headers and footers

VariableDefaultTypeDescription
--hub-column-cap-bg#ffffffcolor Background color for column headers #f8f9favar(--bs-light)transparent
--hub-column-cap-color#212529color Text color for column headers #495057var(--bs-dark)#333
--hub-column-cap-padding0.75rem 1remlength Padding inside column headers 0.5rem 1rem1rem 1.25rem1rem
--hub-column-cap-border-bottom1px solid #dee2e6border Bottom border for column headers 2px solid #dee2e6none1px dashed #ccc

Card Styling

Customize the appearance of individual cards within columns

VariableDefaultTypeDescription
--hub-card-bg#ffffffcolor Background color for cards #f8f9fargba(255,255,255,0.9)transparent
--hub-card-color#212529color Text color for cards #333333var(--bs-body-color)#495057
--hub-card-border1px solid #dee2e6border Border around cards 2px solid #dee2e6none1px dashed #ccc
--hub-card-border-radius0.375remlength Border radius for card corners 00.5rem0.75rem12px
--hub-card-padding1remlength Internal padding within cards 0.75rem1.25rem1rem 1.5rem
--hub-card-margin0.5rem 0length Margin around cards 0.25rem 00.75rem 01rem 0
--hub-card-shadow0 2px 4px rgba(0,0,0,0.1)shadow Box shadow for cards 0 1px 3px rgba(0,0,0,0.1)0 4px 8px rgba(0,0,0,0.15)none

Drag & Drop States

Visual feedback and states for drag-and-drop interactions

VariableDefaultTypeDescription
--hub-card-hover-shadow0 4px 8px rgba(0,0,0,0.15)shadow Enhanced shadow when hovering over cards 0 6px 12px rgba(0,0,0,0.2)0 2px 6px rgba(0,0,0,0.1)none
--hub-card-dragging-opacity0.5number Opacity of cards while being dragged 0.30.70.8
--hub-drop-zone-bgrgba(0,123,255,0.1)color Background color for active drop zones rgba(40,167,69,0.1)rgba(255,193,7,0.1)transparent
--hub-drop-zone-border2px dashed #007bffborder Border style for active drop zones 3px solid #28a7451px dotted #ffc107none

Animations & Transitions

Control timing and easing for animations and transitions

VariableDefaultTypeDescription
--hub-transition-duration0.2sstring Duration for standard transitions 0.15s0.3s0.4s
--hub-transition-easingease-in-outstring Easing function for transitions easelinearcubic-bezier(0.4, 0, 0.2, 1)

Styling and theming

No styling examples are documented yet. This section will include customization recipes and theming examples.