Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

Nav

The list of the product’s places, with the current place marked.

On this page

Playground

Icons
Groups
Background
HTML
<nav class="feitio-nav" aria-label="Main"><div class="group"><p class="group-title">Work</p><ul><li><a href="#playground" aria-current="page">Schedules</a></li><li><a href="#playground">Tasks</a></li></ul></div></nav>

When to use

When not to use

Examples

With groups

The current place is placed paper: background, ink line and bold. Three signals, none color alone.

Show code
HTML
<div class="feitio-nav">
  <div class="group">
    <p class="group-title" id="g-trabalho">Trabalho</p>
    <ul aria-labelledby="g-trabalho">
      <li><a href="/agendamentos" aria-current="page">…Agendamentos</a></li>
      <li><a href="/tarefas">…Tarefas</a></li>
    </ul>
  </div>
</div>

Anatomy

  1. Group title, optional: when there is more than one group.
  2. Current place: placed paper, ink line and bold.
  3. Other places: underline on hover.

Do and don’t

Do

The current place is a box with a line: readable on any screen, and without color.

Don’t

A colored side stripe and only the text color changing: machine-made look.

Writing

Accessibility

Attributes

AttributeValuesWhat for
class="feitio-nav"requiredGroups space-5 apart.
class="group", "group-title"optionalA titled group.
aria-current="page"on the current placePlaced paper, ink line and bold.
Top