Indicators are stylized, interactive elements indended to highlight information or notify the user of something. Bulma CSS provides default styling and color and size modifiers for three types of indicators: tags, notifications, and progress bars. A delete button may be added to a tag or notification in order to allow the user to remove or dismiss it.
Construct a notification block
"You are awesome."
|> Ui.Indicator.notification
|> Ui.render
--> <div class="notification" role="alert">You are awesome.</div><div>Construct a progress bar
15
|> Ui.Indicator.progress
|> Ui.render
--> <progress class="progress" value="15" max="100">15%</progress>Add a delete button to a tag or notification
"You are awesome."
|> Ui.Indicator.notification
|> Ui.Indicatior.withDelete HideNotification
|> Ui.render
--> <div class="notification" role="alert">
-- <button class="delete" aria-label="Hide notification"></button>
-- You are awesome.
-- </div><button>
Construct an tag label
<span>