Button

    Overview

    When to use

    The icon element should be used if there is no room for a full descriptive text label or if a general function could be described with a familiar, abstract image.

    When to consider an alternative

    If the mapped function is too complex to find a widely recognized and descriptive image to sell its use. Or if the icon has only a decorative character.


    Component

    The button component should always be used if the user has to be guided to specific actions. It's important to use the button component with care. Especially the primary button should be used as less as possible, so the page has a clear CTA for an explicit user journey.

    Default

    Primary

    Invert

    Flag

    Disabled

    Small

    Icon right

    Icon left

    Icon Only

    Loading


    Properties

    PropertyTypeRequiredDefault
    primaryBoolfalse-
    linkBoolfalse-
    hrefStringfalse-
    invertBoolfalse-
    loadingBoolfalse-
    iconStringfalse-
    iconLeftBoolfalse-
    disabledBoolfalse-
    flagStringfalse-
    toggleStringfalse-
    smallBoolfalse-
    iconOnlyBoolfalse-
    utilClassNamesStringfalse-
    childrenNodefalse-
    onClickFuncfalse-