Loaders

Communicate that somethings is happening with a loader. They can be used on almost all elements div, span etc. Use type or size modifiers to adopt the loader to your context. Out of the box there are three sizes small, default and large. To control the visibility of the loader use the trait pam-visibility="hidden | invisible".


Circle

The classic spinning loader, can for example be used in buttons.

Markup

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

<div pam-Loader="circle small"></div>
<div pam-Loader="circle"></div>
<div pam-Loader="circle large"></div>

Pulse

Suitable for centered generic context loading.

Markup

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

<div pam-Loader="pulse small"></div>
<div pam-Loader="pulse"></div>
<div pam-Loader="pulse large"></div>

Examples

Some examples of circle loader in button and input context.

Markup

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

<form pam-Form>
    <div pam-Form-Inline="reverse">
        <label for="group-input-loader" pam-Form-Icon>
            <div pam-Loader="circle small"></div>
        </label>
        <input id="group-input-loader" type="text" placeholder="Input group loader" pam-Form-Control disabled>
    </div>
<form>