<span class="label">This is a label</span>
<span {{ html_attributes({ class: 'label' }, attrs ?? {}) }}>
  {{- text -}}
</span>
{
  "text": "This is a label",
  "for": "id"
}
  • Content:
    .label {
      color: var(--label-color, inherit);
      display: block;
      font-size: var(--label-font-size, var(--font-size-caption));
      font-weight: var(--label-font-weight, var(--font-weight-semibold));
      line-height: var(--label-line-height, var(--line-height-narrow));
      text-transform: var(--label-text-transform, uppercase);
    }
    
  • URL: /components/raw/label/label.scss
  • Filesystem Path: src/components/2-atoms/label/label.scss
  • Size: 326 Bytes

No notes defined.