Buttons
Use the button component inside forms, as a link, social login, payment options with support for multiple styles, colors, and sizes.
In any user interface or website, the button element is most frequently used because it can be used to initiate an action as well as link to other pages.
Skewind provides a large variety of styles and sizes for the button component, including outlined buttons, multiple colors, sizes, buttons with icons, and more.
Overviews #
These are some overviews of the buttons. Use the options to switch between various styles, sizes, and variants.
Buttons
Basic Usage #
The button
class can be used on <a>
, <button>
, <input type"submit">
, etc. Example:
Color Schemes #
To change the color schemes, use Skewind's scheme-{color}
utility classes. You can also switch to a softer scheme by appending the button--soft
class to the button element. Take a look at these examples:
More Examples #
With Icons #
Let's add some icons to make it look more interesting. Wrap button text with an element. And finally, add the icon element as the first or/and last child of the button. For example:
Icon Only #
Sometimes you need a button to indicate an action using only an icon.