Button

Note

The task interface configuration guide describes the features of the HTML/JS/CSS editor. You can also try creating a button in Template Builder.

To add a button to a task, use the {{button}} component. Example:

{{button label="Click me" href="https://toloka.ai" action=true}}

Parameters

ParameterDescriptionRequiredDefault value
labelButton labelnoempty string
hrefLink that opens when the Toloker clicks the button. The link is opened in a new browser tab.no
action

Button color:

  • action=true — Yellow.

  • action=false — White.

nofalse
size

Size of the button (with preserved aspect ratio).

  • "S" — 24 px high.

  • "M" — 28 px high.

  • "L" — 32 px high.

  • "XL" — 38 px high.

no"M"
classCSS class.no".button"
Contact support

Last updated: February 15, 2023

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
FAQTroubleshootingSupportGlossary