Label

<sw-label>

ready

Usage

Loading...
<sw-label>
    Text
</sw-label>

Component properties

Property name Type Default
variant String
size String default
appearance String default
ghost Boolean false
caps Boolean false

Imports

  • ./sw-label.scss
  • ./sw-label.html.twig

SASS variables

Variable name Value
$sw-label-border-radius $border-radius-default / 2
$sw-label-pill-border-radius 50px

Twig blocks

  • sw_label_slot_default
  • sw_label_text_holder
  • sw_select_selection_dismiss_icon
  • sw_label_dismiss
  • sw_label

Slots

  • default
  • dismiss-icon