view.alert

The component creates a color block to highlight important information.

You can use both plain text and other visual components inside it.

View example in the sandbox.

Component properties

NameTypeDescription
type*"view.alert"

Set component type

labelstring

Label above the component.

contentview

Content of the block with important information.

hintstring

Hint text.

themestring

Determines the block color:

  • info (default) — Blue.
  • success — Green.
  • warning — Yellow.
  • danger — Red.
validationcondition

Validation based on condition.