No Results Found
A label for inputs.
<tk-label>Label</tk-label>
<hr>
<tk-input label-text="Labelled Input"></tk-input>
<hr>
<tk-text-area label-text="Labelled Text Area"></tk-text-area>tk-label is used to label inputs. They can be used alone or in conjunction with an input (e.g. with a tk-input)
<tk-input label-text="Medium Label" label-size="medium"></tk-input>
<hr/>
<tk-input label-text="Large Label" label-size="large"></tk-input>The size of the label can be specified by the size prop.
<tk-input disabled label-text="Disabled Medium Label" label-size="medium"></tk-input>
<hr/>
<tk-input disabled label-text="Disabled Large Label" label-size="large"></tk-input>Changing the disabled prop to true shows that it’s input cannot be used.
| Property | Required? | Default | Description |
|---|---|---|---|
size | no | medium | The size of the label, can either be medium, or large |
disabled | no | false | If the label is disabled, it shows that it’s input cannot be used |