Toloka documentation

view.alert

The component creates a color block to highlight important information.

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

Component properties

Name

Type

Description

type*

"view.alert"

Set component type

label

string

Label above the component.

content

view

Content of the block with important information.

hint

string

Hint text.

theme

string

Determines the block color:

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

validation

condition

Validation based on condition.