<label class="form-label form-label-hidden " for="input-label">
Input label
</label>
<label
class="form-label {{#if hideLabel}}form-label-hidden{{/if}} {{#if inlineLabel}}form-label-inline{{/if}} {{modifier}}"
for="{{for}}"
>
{{text}}
</label>
{
"for": "input-label",
"text": "Input label",
"modifier": "",
"inlineLabel": false,
"hideLabel": true
}
.form-label {
@apply text-black text-md block;
&.form-label-invalid {
@apply text-red;
}
&.form-label-valid {
@apply text-green;
}
&.form-label-inline {
@apply inline;
}
&.form-label-hidden {
@apply hidden;
}
}
No notes defined.