API Reference


Ui-related label is a non-scrollable placeholder for plain text. Like other components, it features specific label property that sets text value.


{ view:"label", label: "Label", inputWidth:100, align:"center"}

Related sample:  Attributes

Main properties

  • label (string) - defines text of the label control;
  • inputWidth (number) - defines the width of the control;
  • align (string) - positions the label with relation to the parent view.

Label control can be used to render any user HTML or icons (as well as built-in in Webix Font Awesome icons):

{ view:"label", label:"<span class='myCss'>My Label</span>"},
{ view:"label", label:"<span class='webix_icon fa-user'></span> My Label" }

Related Articles

Back to top