Semantic UI

Last Updated : 13 Jun, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. It uses a class to add CSS to the elements.

Semantic UI
Semantic UI

Why Semantic UI?

Semantic UI is becoming extremely popular due to the following reasons:

  • It offers a variety of components that can be used easily.
  • It is open source so has good community support.
  • It is easy to use and learn.
  • It provides an elegant look and makes UI more interactive with minimal effort.
  • It unpacks a variety of themes and CSS, JavaScript, and font files.
  • It provides a lightweight user experience.
Semantic UI
Semantic UI

Steps to Install Semantic UI

We can use Semantic UI in the following two ways.

Method 1: Using CDN Link: In this method, we will add CDN links to the head section of the code without installing it.

<link href=”https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css” rel=”stylesheet” /> <script src=”https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js”></script>

Method 2: The second way of using is the downloading min.css file of the Semantic UI whose link you can find on the semantic UI official site and use it directly and it works offline.

Now let’s understand the working of Semantic UI using an example.

Example: This example creates a simple Log In Form.

HTML
<!DOCTYPE html>
<html>
 
<head>
    <title>Semantic UI</title>
    <link href=
"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"
        rel="stylesheet" />
 
    <script src=
"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js">
    </script>
 
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"
        integrity=
"sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
        crossorigin="anonymous">
    </script>
</head>
 
<body>
    <div class="ui container">
        <h2>Log In</h2>
        <form class="ui form">
            <div class="field">
                <label>Username</label>
                <input type="text" name="Username"
                        placeholder="Username">
            </div>
            <div class="field">
                <label>Password</label>
                <input type="password" name="password"
                        placeholder="Password">
            </div>
            <div class="field">
                <div class="ui checkbox">
                    <input type="checkbox" tabindex="0"
                            class="hidden">
                    <label>Remember Me</label>
                </div>
            </div>
            <button class="ui button" type="submit">
                Log In
            </button>
        </form>
    </div>
 
    <script>
        $('.ui.checkbox').checkbox();
    </script>
</body>
 
</html>

Output:

Semantic-UI

Similar Reads

Difference between semantic and non-semantic elements
Semantic HTML elementsThese semantic elements simply mean, elements with meaning. The reason being, there definition in the code tells the browser and the developer what they are supposed to do. Framing in simpler words, these elements describe the type of content they are supposed to contain. Following is the list of some semantic elements: articl
2 min read
Semantic-UI Menu Text Content
Semantic UI open-source framework gives icons or glyphs that are used to show pictures related to some elements using CSS and jQuery that is used to create great user interfaces. It is a development framework used to create beautiful and responsive layouts. Semantic UI Menu is a group of elements that displays different navigation actions. We can n
2 min read
Semantic-UI Menu Types
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. The best part about this framework is that it creates beautiful and responsive layouts as it contains pre-built semantic components. A
3 min read
Semantic-UI | Step
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. It uses a class to add CSS to the elements. A step shows the completion of a series of activities. Example 1: This example creating a s
3 min read
Semantic-UI | Segment
A semantic UI open-source framework provides a segment or portion on a webpage that is used to create a group of related content. It is very similar to bootstrap usage and has different elements to make your website more amazing using jQuery and CSS for interfaces. For styling of elements, it uses classes. Example: C/C++ Code &lt;!DOCTYPE html
5 min read
Semantic-UI Advertisement Types
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 predefined CSS and jQuery to incorporate different frameworks. Semantic UI Advertisement offers us 10 types of advertisement ads, Common Units, Mobile, Rectangle, Button, Skyscraper, Banner,
2 min read
ReactJS Semantic UI Search Module
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 predefined CSS and JQuery to incorporate them into different frameworks. In this article, we will learn how to use the Search Module in ReactJS Semantic UI. The Search Module helps a user to
2 min read
Semantic-UI Card Extra Content
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing and responsive. The Semantic UI Card element displays site content in a manner similar to a playing card using the Semantic UI classes.
2 min read
Semantic-UI Icon Header Content
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. Semantic-UI header provides a short summary of content and it’s can contain 3 content Image, Icon, and Subheader. The Semantic-UI Conte
2 min read
Semantic-UI Message Positive / Success Variation
Semantic UI is the open-source framework that used CSS and jQuery to make our websites look beautiful and responsive. It has predefined classes like bootstrap for use to make our website more interactive. It has some pre-built semantic components and we can use these components to create a responsive website. Semantic UI Message is used to display
2 min read
Semantic-UI Message Info Variation
Semantic UI is the open-source framework that used CSS and jQuery to make our websites look beautiful and responsive. It has predefined classes like bootstrap for use to make our website more interactive. It has some pre-built semantic components and we can use these components to create a responsive website. Semantic UI Message is used to display
2 min read
Semantic-UI Image Size Variations
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. There are different styles of putting images
3 min read
Semantic-UI Icon Set Sports
Semantic UI is a CSS framework that helps in developing beautiful and responsive web interfaces faster. In this article, we will be taking a look at the Sports icons that are included in Semantic UI. There are a total of 11 icons in the Sports icon set that can be used to represent various games and activities. Semantic-UI Icon Set Sports Classes:
3 min read
Semantic-UI Dropdown Pointing Type
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. Semantic UI has a bunch of components for user interface design. One of them is “Dropdown”. Dropdowns are used to show different option
4 min read
Semantic-UI Dropdown Compact Variation
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. Semantic UI has a bunch of components for user interface design. One of them is “Dropdown”. Dropdowns are used to show different option
3 min read
Semantic-UI Advertisement Leaderboard Type
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. In this article, we are going to learn about Advertisement Leaderboard Type. It is equipped with pre-built semantic components that hel
2 min read
Semantic-UI | Breadcrumb
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. It uses a class to add CSS to the elements. A Breadcrumb is used to show the hierarchy between content. Example 1: This example creatin
2 min read
ReactJS Semantic UI List Element
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, JQuery language to incorporate in different frameworks. In this article we will know how to use the List element in ReactJS Semantic UI. List element is a list groups rela
2 min read
Semantic-UI Accordion Styled Type
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 predefined CSS and jQuery to incorporate into different frameworks. The accordion type is used to specify the type of accordion used for the particular condition. The Semantic-UI Accordion St
3 min read
Semantic-UI Statistics Types
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. Semantic UI has a bunch of components for user interface design. One of them is “Statistics”. There are different types of statistics.
2 min read
Semantic-UI Form Read-Only Field State
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is same as a bootstrap for use and has great different elements to use to make your website look more amazing. It uses a class to add CSS to the elements. A form is the section of a document that contains a number of input fields such as text field,
2 min read
Semantic-UI Popup Titled Type
Semantic UI is an open-source UI framework that is built with CSS preprocessor less and jQuery. It comes with pre-styled and functional elements and modules that help in building great websites faster. It can also be used with other CSS frameworks like Bootstrap. A popup module is used to show additional information to the user. In this article, we
3 min read
Semantic-UI Image Types
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has various different elements to use to make your website look more amazing. Semantic UI provides us with a very easy way to style images. It offers images of different types like a normal image and image link.
3 min read
Semantic-UI Icon Set Genders
Semantic UI is an open-source CSS based on less and jQuery used for developing beautiful and responsive web interfaces. In this article, we will be seeing the Genders Icon Set provided by Semantic UI. The gender icon set consists of 13 icons used for representing genders or types of sexuality. Semantic-UI Icon Set Genders Classes: genderless: This
3 min read
Semantic-UI Step Active State
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. In this article, we are going to learn about Step Active State. It is equipped with pre-built semantic components that help create resp
2 min read
Semantic-UI Reveal Variations
Semantic UI is the open-source framework that used CSS and jQuery to make our websites look beautiful and responsive. It has predefined classes like bootstrap for use to make our website more interactive. It has some pre-built semantic components and we can use these components to create a responsive website. In this article, we will discuss Reveal
2 min read
ReactJS Semantic UI Label Element
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, JQuery language to incorporate in different frameworks. In this article we will know how to use label elements in ReactJS Semantic UI. Label element is used to display con
3 min read
Semantic-UI Image Disabled State
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. Semantic UI has a bunch of components for user interface design. One of them is “Image”. Images are an important tool to depict informa
2 min read
ReactJS Semantic UI flag Element
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, JQuery language to incorporate in different frameworks. In this article, we will know how to use flag element in ReactJS Semantic UI. Flag element is used to represent the
2 min read
Semantic Web and RDF
Semantic Web is an extension to the World Wide Web. The purpose of the semantic web is to provide structure to the web and data in general. It emphasizes on representing a web of data instead of web of documents. It allows computers to intelligently search, combine and process the web content based on the meaning that the content has. Three main mo
3 min read
three90RightbarBannerImg