koobiq buttons are available using native <button> or <a> elements.

There are two button variants, each applied as an attribute:

  • basic buttons;
  • icon buttons.

Basic kbq-button buttons are rectangular buttons containing text only.

Button states Basic button's states

Icon buttons consist of an icon and can contain text. To create an icon button, add the <i kbq-icon="icon_name"></i> element within <button kbq-icon-button> where "icon_name" is the name of a Koobiq icon. For example:

Add any text before or after the <i> element to place a button label to the right or to the left of the icon.

koobiq provides three button colors, applied using the color property with possible values theme, secondary, and error.

If processing an action takes more than 1-2 seconds, the progress indication ("loading") can be used. This shows that the system takes action, and the user won't wonder whether the button is working or not. To enable the button progress indication, use class="kbq-progress" which can be combined with other properties.

Docs Feedback
If you have any questions or would like to contribute to writing the documentation, please create an issue in our GitHub repository.