mirror of
https://github.com/primer/css.git
synced 2024-12-02 07:53:06 +03:00
1.6 KiB
1.6 KiB
Primer CSS Breadcrumb Navigation
Popover for suggesting, guiding, and bringing attention to specific UI elements on a page.
This repository is a module of the full primer-css 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
<div class="Popover top-right position-absolute right-0 js-notice p-4 Box">
<h4 class="mb-2">Popover heading</h4>
<p>Message about this particular piece of UI.</p>
<button type="submit" class="js-notice-dismiss btn btn-outline mt-2 text-bold">Got it!</button>
</div>
License
MIT © GitHub