Skip to content

udayvunnam/xng-breadcrumb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

xng-breadcrumb

A lightweight, declarative, and dynamic breadcrumb solution for Angular 6+. 🌐 View on npm

CI npm version license All Contributors npm downloads Twitter follow

What is xng-breadcrumb

xng-breadcrumb is a plug-and-play breadcrumb component built specifically for Angular applications. It automatically generates navigation breadcrumbs from your route configurationsβ€”so you can stop manually stitching them together.

Whether you're building a dashboard, a blog, or an enterprise-grade app, this library helps keep your navigation intuitive and dynamic.

πŸ” Why Breadcrumbs?

Breadcrumbs provide users with:

βœ… Context β€” See where they are in your app's hierarchy

βœ… Navigation β€” Quickly move to parent or sibling routes

βœ… Clarity β€” Reduced cognitive load in deep nested UIs

πŸ“– Documentation

Get started in minutes with our full Documentation, including usage, configuration, and examples.

πŸ§ͺ Live Demo

Experience it firsthand in the Demo App

xng-breadcrumb usage

✨ Features

  • βœ… Zero Config Setup: Just drop <xng-breadcrumb> anywhere in the app.

  • βœ… Auto Labels β€” Automatically generates labels from Angular route configs.

  • βœ… Custom Labels β€” Easily override route labels.

  • βœ… Dynamic Updates: Change breadcrumb labels dynamically using BreadcrumbService.set(), utilizing either route path or route alias.

  • βœ… Skip breadcrumb: Conditionally exclude specific routes from breadcrumb display

  • βœ… Disable breadcrumb: Can disable specific routes in breadcrumbs to prevent navigation to intermediate states .

  • βœ… Customization: Customize breadcrumb template to display icons with label, apply text formatting using pipes, integrate i18n with ngx-translate, and more.

  • βœ… Styling and Seperators: Easily customize breadcrumb separators and styles to match your application's design

  • βœ… QueryParams and Fragment: Preserves params/fragments across navigation.

  • βœ… SSR Ready: Fully compatible with Angular Universal.

If xng-breadcrumb saves you hours or adds polish to your app, consider becoming a sponsor. Every contribution helps!

πŸ‘ Contributors

Thanks to all the amazing folks who make this project better! (πŸ’ͺ):

Uday Vunnam
Uday Vunnam

πŸ’» πŸ“– 🚧
anthonythiry
anthonythiry

πŸ’»
dedrazer
dedrazer

πŸ’»
Danny Feliz
Danny Feliz

πŸ“–
Kapsky
Kapsky

πŸ’»
Andrei Cojea
Andrei Cojea

πŸ“–
Jonathan
Jonathan

πŸ’»
Pavan Kumar Jadda
Pavan Kumar Jadda

πŸ’»
Leon Fretter
Leon Fretter

πŸ’»
LukΓ‘Ε‘ Matta
LukΓ‘Ε‘ Matta

πŸ“–
Glenn Latomme
Glenn Latomme

πŸ’»
Ovidiu HaureΘ™
Ovidiu HaureΘ™

πŸ’»
Kristof Gilis
Kristof Gilis

πŸ’»
Aleksander
Aleksander

πŸ’»
Add your contributions

Want to see your name here? We welcome all-contributions!

Adding a contributor is easy:

pnpm all-contributors add <username> <contribution>
# Example:
pnpm all-contributors add jfmengels code,doc