Callout

Inline messages inside a page or panel.

Helper
callout(
  text = nil,
  variant: :info,     # :ok, :warning
  icon: nil
) do |c|
  c.with_action { … }  # :warning only
end

:info informs, :ok confirms, :warning asks the person to act and may hold one small action. One sentence saying what happened and what to do.

Nova versão disponível. Reinicie para atualizar.
Atualização instalada.