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

Component properties

NameTypeDescription
type*"view.alert"Set component type.
labelstringLabel above the component.
contentviewContent of the block with important information.
hintstringHint text.
themestring

Determines the block color:

  • info (default) — Blue.
  • success — Green.
  • warning — Yellow.
  • danger — Red.
validationconditionValidation based on condition.
Contact support
Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
Frequently asked questionsTroubleshootingSupportGlossary