Angular Timeline & Progress Steps | ng-hub-ui-milestones

Angular timeline and progress-steps component: vertical or horizontal, fully customizable nodes, content inside and beside each step, themed with CSS variables.

Styles

Mixins and styles

Override the `--hub-milestone-*` design tokens in a single include. Every parameter is OPTIONAL and defaults to `null`: only the parameters you pass are emitted, so the rest keep their defaults. Token-based and self-contained.

Theming with hub-milestones-theme

Kickoff

Project scoped and approved.

Build

The current step, in progress.

Launch

Not started yet.

MixinParametersDescription
Theming
hub-milestones-theme()
$node-color--hub-milestone-node-color
$node-text--hub-milestone-node-text
$node-size--hub-milestone-node-size
$node-font-size--hub-milestone-node-font-size
$connector-bg--hub-milestone-connector-bg
$connector-pending-bg--hub-milestone-connector-pending-bg
$connector-thickness--hub-milestone-connector-thickness
$pending-bg--hub-milestone-pending-bg
$pending-border--hub-milestone-pending-border
$pending-color--hub-milestone-pending-color
$error-bg--hub-milestone-error-bg
$body-color--hub-milestone-body-color
$body-muted--hub-milestone-body-muted
$gap--hub-milestone-gap
$spacing--hub-milestone-spacing
One-call token theming for `<hub-milestones>`

CSS variables

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

Milestones

Design tokens read by this component. Override them on the host element (or any ancestor) to customize; every default falls back to the ng-hub-ui-ds layer.

VariableDefaultTypeDescription
--hub-milestone-body-colorvar(--hub-sys-text-primary, #212529)color Primary body text color.
--hub-milestone-body-mutedvar(--hub-sys-text-muted, #6c757d)string Muted / secondary body text color.
--hub-milestone-connector-bgvar(--hub-milestone-node-color)color Fill of the connector between completed / active nodes.
--hub-milestone-connector-pending-bgvar(--hub-sys-border-color-default, #dee2e6)color Connector fill leading into a pending node.
--hub-milestone-connector-thickness3pxlength Thickness of the connecting rail.
--hub-milestone-error-bgvar(--hub-sys-color-danger, #dc3545)color Error node background.
--hub-milestone-gap1remlength Gap between the node rail and the body content.
--hub-milestone-node-colorvar(--hub-sys-color-primary, #0d6efd)color Node background for complete / active states. Per-node `color` overrides this.
--hub-milestone-node-font-size1.05remlength Font size of the node content (number / label).
--hub-milestone-node-size2.75remlength Diameter of the node circle.
--hub-milestone-node-textvar(--hub-ref-color-white, #ffffff)color Node content color on colored nodes.
--hub-milestone-pending-bgvar(--hub-sys-surface-elevated, #f8f9fa)color Pending node background.
--hub-milestone-pending-bordervar(--hub-sys-border-color-default, #dee2e6)border Pending node border color.
--hub-milestone-pending-colorvar(--hub-sys-text-muted, #6c757d)color Pending node content color.
--hub-milestone-spacing1.75remlength Spacing between consecutive steps.
--hub-milestone-pulse-colorvar(--hub-milestone-node-color)color Colour of the active-node pulse wave. Defaults to the node accent, so it follows any per-node `color` override.
--hub-milestone-pulse-duration1.6stransition Duration of one pulse cycle.
--hub-milestone-pulse-spread0.75remlength How far the pulse wave expands outward from the node.
--hub-milestone-reveal-duration0.5stransition Duration of each connector's fill during the viewport reveal.
--hub-milestone-reveal-stagger0.14sstring Delay between consecutive connectors filling, creating the cascading reveal.