Form / Message Bar

Use message bars to indicate relevant status information.

from h2o_wave import site, ui
page = site['/demo']
page['example'] = ui.form_card(
box='1 1 4 10',
items=[
ui.message_bar(type='blocked', text='This action is blocked.'),
ui.message_bar(type='error', text='This is an error message'),
ui.message_bar(type='warning', text='This is a warning message.'),
ui.message_bar(type='info', text='This is an information message.'),
ui.message_bar(type='success', text='This is an success message.'),
ui.message_bar(type='danger', text='This is a danger message.'),
]
)
page.save()

Tags: โ€‚form โ€‚message_bar