<a href="#" class="label">label</a>
{{#if url }}

  <a href="{{ url }}"{{#if target}} target="{{ target }}"{{/if}} class="label">{{ label }}</a>

{{else}}

  <span class="label">{{ label }}</span>

{{/if}}
url: '#'
label: label
target: false
  • Content:
    .label {
      transition: color 250ms;
      padding: 0;
      color: inherit;
      color: var(--color--neutrals-5);
      cursor: pointer;
      font-size: inherit;
      font-weight: 400;
      text-decoration: none;
    
      &[href]:hover {
        color: inherit;
        cursor: pointer;
      }
    }
    
  • URL: /components/raw/label/label.scss
  • Filesystem Path: ../src/02_atoms/label/label.scss
  • Size: 255 Bytes

No notes defined.