kor-ui/kor

Add 'label' + 'icon' button variation

Closed this issue · 0 comments

When the icons are not enough to describe an action, a label could be used to support it.

Examples:

  • Sign in with Google (google logo + label)
  • Share (share icon + label)

Acceptance criteria:

  • Icon-only and label-only variations work as before
  • Icon + label work together (icon to the left of the label)
  • Icon slot can be used instead of icon prop
  • Descriptions, demos and APIs are updated accordingly