Status

Dots, pills, counters and badges.

Helper
status_dot(status = :neutral, color: nil)        # :ok, :warn, :bad, :neutral
status_pill(label, status: :ok, dot: true)        # :ok, :bad, :neutral, :accent, :warn
counter(number)
badge(text)

status_dot (:ok, :warn, :bad, :neutral, or color: for a project colour) sits before a status word in lists; never alone. status_pill shows one record's state in a header (:ok, :bad, :neutral, :accent, :warn). counter is the number behind a tab or option, with the locale's thousands separator. badge is a "+N" on a button.

Autorizada Pendente Cancelada Substituída
Autorizada Cancelada Substituída Ativa 1,204 +3