Semantic UI

Introduction

Semantic UI is a front-end development framework similar to Bootstrap designed for theming. It contains pre-built semantic components which help create beautiful and responsive layouts using human-friendly HTML.

According to the Semantic UI website the framework utilizes concise HTML, intuitive JavaScript, and simplified debugging to make front-end development a fun and delightful experience. Semantic UI integrates with React, Angular, Meteor, Ember and many other frameworks to help organize UI layer alongside application logic.

Version History

The first pre-release appeared on GitHub in September 2013 created by Jack Lukic.

Semantic UI 1.x was first released in November 2014 with breaking changes to previous pre-releases.

Semantic UI 2.x was first released in June 2015 and introduced new ui, several bug fixes, enhancements, and default theme improvements.

Browser Support

The current version 2.2.x supports the following browsers:

  • Last 2 Versions FF, Chrome, Safari Mac
  • IE 11+
  • Android 4.4+, Chrome for Android 44+
  • iOS Safari 7+
  • Microsoft Edge 12+

Installation

There are several ways of installing Semantic UI. Some of the simplest ways are as follows:

  1. Via Content Delivery Network (CDN)

It is by far the easiest for beginners. Create an HTML file as below:

<!DOCTYPE html>
<html>
  <head>
    <title>Semantic UI</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.css">
    <!-- Add custom stylesheet here -->
  </head>
  <body>
  
    <!-- Write your html code here -->
    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.js"></script>
  </body>
</html>

NOTE: The above CDN link on line 5, will include all the available components in Semantic UI. If you want to install a specific component click here to see its respective CDN link.

  1. Using Build Tools

This will assume you're using Ubuntu Linux OS with node and npm installed. For other operating systems click here.

In your project directory install gulp globally using npm:

npm install -g gulp

Install Semantic UI:

npm install semantic-ui --save
cd semantic/
gulp build

Include in HTML:

<link rel="stylesheet" type="text/css" href="semantic/dist/semantic.min.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="semantic/dist/semantic.min.js"></script>

Update Via npm:

npm update
  1. Integrating with other Frameworks

You can integrate Semantic UI with other front-end development frameworks like React, Angular, Ember, or Meteor. Click here for more informations and integration instructions.

More Information

Semantic UI has thorough and well organized documentation that will get you up and running in no time. The following links will be helpful in your Semantic UI journey:


Contributing to the Guide

This open source guide is curated by thousands of contributors. You can help by researching, writing and updating these articles. It is an easy and fun way to get started with contributing to open source.