Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

Tag

A short label with an item’s status: on time, late, down.

On this page

Playground

Late
Status
Size
Background
HTML
<span class="feitio-tag"><svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-info"></use></svg>Late</span>

When to use

When not to use

Examples

DraftOnlineLateDown

The four

Neutral, success, warning and error, always with the line around, so it does not vanish on a weak monitor. Never orange, always with icon and word.

Show code
HTML
<span class="feitio-tag" data-status="warn">
  <svg class="feitio-icon" aria-hidden="true">…</svg>Atrasado
</span>
Reactsoon

Small

Next to a name in a list or a menu, when the regular size would weigh too much: this site’s "soon" in the navigation is one.

Show code
HTML
<span class="feitio-tag" data-size="small">em breve</span>

Do and don’t

Do

Late

One word, with icon: readable from afar and without color.

Don’t

Late

Orange, all caps, a perfect pill and no icon.

Writing

Accessibility

Attributes

AttributeValuesWhat for
class="feitio-tag"requiredThe tag.
data-statusnone, "ok", "warn", "error"Neutral (no attribute), success, warning or error.
data-size="small"optionalThe small one, next to a name in a list.
Top