Button component - icon-button - create Vue component

Problem

Reuse and add onto the button component. Add an icon prop that takes in an icon name from the GitLab SVG library.. Change the style according to the design specs for just icon buttons.

Proposal

image

Attributes (props)

  • category
    • tertiary (default)
    • primary
    • secondary
  • variant
    • default (default)
    • success
    • info
    • danger
    • warning
    • dashed
    • link
  • disabled
    • false (default)
    • true
  • size
    • small
    • medium
  • block (full-width)
    • false (default)
    • true
  • icon

Links

Edited by Scott Hampton