Open In App
Related Articles

Semantic-UI Button States

Improve Article
Save Article
Like Article

Semantic UI is a modern framework used in developing seamless designs for the website, It gives the user a lightweight experience with its components. It uses the predefined CSS and jQuery to incorporate in different frameworks.

Semantic UI Button Group offers status of the button, if you want to create a like, subscribe and follow button in that case this kind of buttons is required.&

Semantic UI Button States Class:

  • active: This class is use to set the button status active.
  • disabled: This class is use to set the button status disabled.
  • loading: This class is use to set the button status loading.


<button class="ui "States-Class" button">...</button>

Below example will illustrate the Semantic-UI Button States:



<!DOCTYPE html>
    <title>Semantic UI</title>
    <link href=
    rel="stylesheet" />
        button {
            width: 150px;
        .container {
            width: 600px;
            margin-left: 15%;
        <h1 class="ui green">Geeksforgeeks</h1>
        <strong>Semantic UI Button States</strong>
    <div class="container">
        <button class="ui active button">
            <i class="like icon"></i>
        <button class="ui disabled button">
            <i class="user icon"></i>
        <button class="ui secondary loading button">


Semantic-UI Button States

Last Updated : 22 Apr, 2022
Like Article
Save Article
Similar Reads
Related Tutorials