<!-- LABEL Component -->
<label class="kx-label" for="">
    Always point label for to an id
</label>
<!-- LABEL Component -->
<label class="kx-label{% if hideLabel == true %} kx-is-vishidden{% endif %}" for="{{ forId }}">
    {{ labelTxt }}{%- if optionalTxt %}<span class="kx-form__optional">({{ optionalTxt }})</span>{% endif %}
</label>
{
  "optionalTxt": null,
  "labelTxt": "Always point label for to an id",
  "hideLabel": null,
  "forId": null
}
  • Content:
    .kx-label {
        @include type-scale(tiny);
        @include type-weight(bold);
        text-transform: uppercase;
    
        .kx-form__optional {
            @include type-weight(regular);
            @include ml(tiny);
        }
    }
    
  • URL: /components/raw/label/_label.scss
  • Filesystem Path: src\components\01-form\label\_label.scss
  • Size: 216 Bytes

There are no notes for this item.