Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

Divider

The hairline that separates two parts, when space alone is not enough.

On this page

Playground

Above
Below
Tone
Direction
Background
HTML
<div class="feitio-stack" data-gap="3" style="inline-size: min(100%, 24rem)"><span>Above</span><hr class="feitio-divider"><span>Below</span></div>

When to use

When not to use

Examples

Above
In the middle
Below

Hairline and ink

The hairline, in the line color, for almost everything; the ink one, for a strong boundary, like under a table header.

Show code
HTML
<hr class="feitio-divider">
<hr class="feitio-divider" data-tone="ink">

Vertical

Between pieces side by side, as tall as the row: here it separates one group of actions from the others.

Show code
HTML
<div class="feitio-inline" data-gap="3">
  <button type="button" class="feitio-button" data-size="small">Editar</button>
  <button type="button" class="feitio-button" data-size="small">Duplicar</button>
  <hr class="feitio-divider" aria-orientation="vertical">
  <button type="button" class="feitio-button" data-size="small" data-variant="danger">Apagar</button>
</div>

Rules

Attributes

AttributeValuesWhat for
class="feitio-divider"on the <hr>The hairline.
data-tone="ink"optionalThe ink line, for a strong boundary.
Top