Facets/Pills are used to filter information based on predefined groups or aspects of the data, e.g. to quickly see only unread messages or messages from today. Facets groups containing several facets for a given attribute are usually used together with grids and simple search for fast access to predefined filters. They allow the users to narrow the information space by selecting a desired facet of the information.
Common facets groups in Visma are e.g. Document type (All/Invoices/Expenses/Time sheets), Status (Active/Inactive/All), and Date (Last week/Last month/Last year/All). Read more about facets in the UX Guidelines.
Default state - .nav.nav-pills
Primary state - .nav.nav-pills.nav-pills-primary
<!-- Default state - .nav.nav-pills -->
<ul class="nav nav-pills">
<li role="presentation" class="active"><a href="#">Active</a></li>
<li role="presentation"><a href="#">Normal</a></li>
<li role="presentation"><a href="#">Normal</a></li>
<li role="presentation" class="disabled"><a href="#">Disabled</a></li>
</ul>
<!-- Primary state - .nav.nav-pills.nav-pills-primary -->
<ul class="nav nav-pills nav-pills-primary">
...
</ul>