Open In App

Semantic-UI Icon Set Design

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. The icons add more beauty to the website than the textual representation. In this article let us see about the Icon set of design. Semantic UI provides some most commonly used icon classes for design which were mostly used in the editors and here are the classes.



Semantic UI Icon set design classes:

Syntax: 



<i class="icon.... design-icon-class "></i>

Example 1: This code demonstrates all design icon set classes.




<!DOCTYPE html>
<html>
  
<head>
    <link href=
        rel="stylesheet" />
        integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
        crossorigin="anonymous">
    </script>
    <script src=
    </script>
</head>
  
<body>
    <center>
        <h1 class="ui green header">GeeksforGeeks</h1>
        <strong>
            Semantic-UI Icon Set Design
        </strong>
        <br />
        <br />
  
        <div class=" ui container">
  
            <div class="ui grid">
                <div class="three wide column">
                    <i class="icon big adjust"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big clone"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big clone outline"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big copy"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big copy outline"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big crop"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big crosshairs"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big cut"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big edit "></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big edit outline"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big eraser"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big eye "></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big eye dropper"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big eye slash"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big eye slash outline"></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big object group "></i>
                </div>
  
                <div class="three wide column">
                    <i class="icon big object group outline"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big object ungroup"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big object ungroup outline "></i>
                </div>
                <div class="three wide column">
                    <i class="icon big paint brush"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big paste"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big pencil alternate"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big save"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big save outline"></i>
                </div>
                <div class="three wide column">
                    <i class="icon big tint"></i>
                </div>
            </div>
        </div>
    </center>
</body>
  
</html>

Output : 

Example 2: This code demonstrates the use of design icon set classes.




<!DOCTYPE html>
<html>
  
<head>
    <link href=
        rel="stylesheet" />
        integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
        crossorigin="anonymous">
    </script>
    <script src=
    </script>
</head>
  
<body>
    <center>
        <h1 class="ui green header">Geeksforgeeks</h1>
        <strong>Semantic UI Icon Set Design</strong>
        <br />
        <br />
        <div class="ui container">
            <button class="ui button">
                <i class="cut icon"></i>
            </button>
            <button class="ui button">
                <i class="copy icon"></i>
            </button>
            <button class="ui button">
                <i class="paste icon"></i>
            </button>
            <button class="ui button">
                <i class="save icon"></i>
            </button>
        </div>
    </center>
</body>
  
</html>

Output:

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


Article Tags :