mirror of
https://github.com/primer/css.git
synced 2024-11-27 09:45:45 +03:00
d2d742559b
- primer-alerts@2.0.0 - primer-avatars@2.0.0 - primer-base@2.0.0 - primer-blankslate@2.0.0 - primer-box@3.0.0 - primer-branch-name@2.0.0 - primer-breadcrumb@2.0.0 - primer-buttons@3.0.0 - primer-core@7.0.0 - primer-forms@3.0.0 - primer-labels@2.0.0 - primer-layout@2.0.0 - primer-markdown@4.0.0 - primer-marketing-buttons@2.0.0 - primer-marketing-support@2.0.0 - primer-marketing-type@2.0.0 - primer-marketing-utilities@2.0.0 - primer-marketing@7.0.0 - primer-navigation@2.0.0 - primer-pagination@2.0.0 - primer-popover@1.0.0 - primer-product@6.0.0 - primer-progress@1.0.0 - primer-subhead@2.0.0 - primer-support@5.0.0 - primer-table-object@2.0.0 - primer-tooltips@2.0.0 - primer-truncate@2.0.0 - primer-utilities@5.0.0 - primer@11.0.0 - primer-module-build@2.0.0 |
||
---|---|---|
.. | ||
lib | ||
.npmignore | ||
index.scss | ||
LICENSE | ||
package.json | ||
README.md | ||
stories.js |
Primer Breadcrumb Navigation
Breadcrumb navigation for GitHub's pages with parents / grandparents.
This repository is a module of the full primer repository.
Documentation
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
<nav aria-label="Breadcrumb">
<ol>
<li class="breadcrumb-item text-small"><a href="https://github.com/business">Business</a></li>
<li class="breadcrumb-item text-small"><a href="https://github.com/business/customers">Customers</a></li>
<li class="breadcrumb-item breadcrumb-item-selected text-small text-gray" aria-current="page">MailChimp</li>
</ol>
</nav>
License
MIT © GitHub