Open In App

Semantic-UI Icon Circular Variation

Semantic UI is an open-source development framework that provides pre-defined classes to make our website look beautiful, amazing, and responsive. It is similar to Bootstrap which has predefined classes. It uses jQuery and CSS to create the interfaces. It can also be directly used via CDN like bootstrap.

Semantic UI provides the users with various different icons that can be used for different purposes with a beautiful user interface. In this article let us see about the icon circular variation.



The icon circular variation allows the user to make the circular icons of the icon set of semantic UI.

Semantic UI icon circular variation classes:



Syntax:

<i class="circular ..."> 
    ...
</i>

Example 1: The following code demonstrates the circular icon classes along with step, backward, play and forward icons from the icon set classes.




<!DOCTYPE html>
<html>
  
<head>
    <link href=
          rel="stylesheet" />
</head>
<center>
    <body>
        <div style="margin-top:50px" class="ui container">
            <h1 style="color:green">GeeksforGeeks</h1>
            <p><strong>Semantic UI icon circular variation</strong></p>
            <i class="circular backward icon"></i>
            <i class="circular step backward icon"></i>
            <i class="circular play icon"></i>
            <i class="circular step forward icon"></i>
            <i class="circular forward icon"></i>
        </div>
    </body>
</center>
</html>

Output:

Example 2: The following code demonstrates the circular icon classes along with file, folder, code, and bug icon from the icon set classes.




<!DOCTYPE html>
<html>
  
<head>
    <link href=
          rel="stylesheet" />
</head>
<center>
    <body>
        <div style="margin-top:50px" class="ui container">
            <h1 class="ui header green">GeeksforGeeks</h1>
            <p><strong>Semantic UI icon circular variation</strong></p>
            <i class="circular file icon"></i>
            <i class="circular folder icon"></i>
            <i class="circular code icon"></i>
            <i class="circular bug icon"></i>           
        </div>
    </body>
</center>
</html>

Output:           

Reference: https://semantic-ui.com/elements/icon.html#/icon


Article Tags :