Stryda logo
Framework
v1.0.116

Buttons

Primary
default

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

Attention

Text only
Icon + text
Text + icon
Icon only

Success

Text only
Icon + text
Text + icon
Icon only

Play

Primary
Secondary
Tertiary
Coins
Tokens
Power token
Large
Medium
default
Small
Extra small
Normal
Small

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

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

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

You can create a button loader by placing aprogress-container inside your button. Head over to the Progress bar component To learn more about progress-container

Primary
default
Secondary
Tertiary
Ghost
Premium
Error
Success

Follow this structure to create a stretchable button. Use the.is-active class name to toggle the button on and off.

Primary
default
Secondary
Tertiary
Ghost
Premium
Error
Success

You can force a button stretch to be unstretch (hide its label) under a certain responsive threshold whether that button is active or not by using the following class name:.{xx}:button-unstretch.
{xx} can be xs, sm, md, lg, xl. Unlike the way responsive design work with Tailwind (see here), this works the other way and represents the maximum screen size it should work for.

In this example, the button stretch will become unstretch below 768px (md) (whether it is active or not).