G-Loot logo
Framework
v1.0.80

Buttons

Variants

Primary

Text only
Icon + text
Text + icon
Icon only

Secondary

Text only
Icon + text
Text + icon
Icon only

Tertiary

Text only
Icon + text
Text + icon
Icon only

Ghost

Text only
Icon + text
Text + icon
Icon only

Premium

Text only
Icon + text
Text + icon
Icon only

Error

Text only
Icon + text
Text + icon
Icon only

Claim

Text only
Icon + text
Text + icon
Icon only

Play

Primary
Secondary
Tertiary

Currency

Coins
Tokens
Ticket

Sizes

Large
Medium
Small
Extra small

Close

Normal
Small

Status

Loading

Display a loading effect by adding the.is-loading class name to your button.

Primary
Secondary
Tertiary
Premium
Claim
Currency

Disabled

Disable a button by adding either a.is-disabled class name or a [disabled]attribute to your button.

Primary
Secondary
Tertiary
Premium
Claim
Currency

Shining

Simply add the .is-shining class name to add a shiny animation to your button

Primary
Premium
Claim
Currency

Feedback

In label

Display a textual feedback to your button by adding a[data-feedback="feedback message"] attribute to your button. The feeedback message is visible for 4 seconds.

Primary
Secondary
Tertiary
Ghost
Currency

In tooltip

You can choose to put the feedback in a tooltip message by adding a[data-feedback-icon="success || error || attention"] attribute to your button. Like the label feeedback, the message is visible for 4 seconds.

Success
Error
Attention

Responsive sizes

You can change the size of the button based on the screen size using the following class name: .{xx}:button-{xx}.
{xx} can be xs, sm, md, lg, xl.

In this example, the small button will become medium above 768px (md) and large above 1024px (lg).
I change size