Angular Badges Library | ng-hub-ui-badges

Semantic Angular badges for statuses, counters and removable filter tags, with CSS variables and public SCSS mixins for custom colour families.

Interactive examples

Explore live examples that show how the library behaves in common Angular use cases.

Semantic Matrix

The core badge surface: semantic colours across solid, soft, outline, ghost, subtle and surface variants.

Semantic Matrix

Semantic colours
PrimarySecondarySuccessDangerWarningInfo
Visual variants
SolidSoftOutlineGhostSubtleSurface

Scale & Shape

Compact XS tags, roomier LG pills and three shell shapes to match dense tables or roomy dashboards.

Scale & Shape

Sizes
XSSMMDLG
Shapes
PillRoundedSquare

Status & Counters

Status dots, alert counts, icon badges and lightweight metadata pills from the same primitive.

Status & Counters

Status dots
API gatewayOnline
Review queuePending review
Billing exportsBlocked
Counters
12 5 alerts 42 deployments

Removable Filters

Dismissible tags for active filters, scoped search pills and lightweight token UIs.

Removable Filters

3 active filters
Priority: High Assigned: Me Status: Open

Open Semantic Theming

Built-in colours read the shared design-system tokens, while custom accents plug in through the public SCSS mixins.

Open Semantic Theming

Brand solidBrand softBrand outlineBrand ghostBrand surface

Truncation & Tooltip

Long labels are clipped with an ellipsis and revealed on hover — via the native title, or the hub-ui tooltip when wired.

Truncation & Tooltip

Narrow column — long labels truncate; hover a badge for the full text.
Processing invoice exportCompleted with warningsCompletedWaiting for manual approval
Explicit tooltip overrides the label, even when it fits:SyncedCap the width per badge with --hub-badge-max-width:A very long capped label

Filter chips

Togglable hub-chip tags coordinated by hub-chip-set for single or multiple selection, reusing the badge accent theming.

Interactive filter chips

Status (single select) Open Pending Closed Selected: open
Labels (multiple select) bug feature docs urgent Selected: feature

Chip Colours

The nine built-in accents on a chip, plus a standalone two-way toggle, a removable tag and a disabled chip — all outside a chip-set.

Chip Colours

Semantic colours
primarysecondarysuccessdangerwarninginfoneutrallightdark
Standalone toggle (two-way selected)
NotificationsRemovableDisabled
notifications: true