2017-11-09 20:41:18 +03:00
# Primer Breadcrumb Navigation
2017-05-11 07:56:23 +03:00
2017-11-15 21:08:26 +03:00
[![npm version ](https://img.shields.io/npm/v/primer-breadcrumb.svg )](https://www.npmjs.org/package/primer-breadcrumb)
2017-11-09 20:41:18 +03:00
[![Build Status ](https://travis-ci.org/primer/primer.svg?branch=master )](https://travis-ci.org/primer/primer)
2017-05-11 07:56:23 +03:00
2017-09-06 22:13:00 +03:00
> Breadcrumb navigation for GitHub's pages with parents / grandparents.
2017-05-11 07:56:23 +03:00
2017-11-09 20:41:18 +03:00
This repository is a module of the full [primer][primer] repository.
2017-05-11 07:56:23 +03:00
## Documentation
<!-- %docs
title: Breadcrumbs
status: Stable
-->
Breadcrumbs are used to show taxonomical context on pages that are many levels deep in a site’ s hierarchy. Breadcrumbs show and link to parent, grandparent, and sometimes great-grandparent pages. Breadcrumbs are most appropriate on pages that:
- Are many levels deep on a site
- Do not have a section-level navigation
- May need the ability to quickly go back to the previous (parent) page
#### Usage
2017-09-16 00:54:11 +03:00
```html title="Breadcrumb"
2017-05-11 07:56:23 +03:00
< nav aria-label = "Breadcrumb" >
< ol >
< li class = "breadcrumb-item text-small" > < a href = "/business" > Business< / a > < / li >
< li class = "breadcrumb-item text-small" > < a href = "/business/customers" > Customers< / a > < / li >
< li class = "breadcrumb-item breadcrumb-item-selected text-small text-gray" aria-current = "page" > MailChimp< / li >
< / ol >
< / nav >
```
<!-- %enddocs -->
## License
MIT © [GitHub ](https://github.com/ )
[primer]: https://github.com/primer/primer
[primer-support]: https://github.com/primer/primer-support
[support]: https://github.com/primer/primer-support
2017-11-09 20:41:18 +03:00
[docs]: http://primer.github.io/
2017-05-11 07:56:23 +03:00
[npm]: https://www.npmjs.com/
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
[sass]: http://sass-lang.com/