semantic ui cdn react code example

Example 1: semantic ui cdn

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css">

Example 2: semantic-ui cdn

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

Example 3: cdnjs smeantic ui

//add this to your index.html file, inside head tag 
<link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"
    />

Example 4: install semantic ui react

React components can be installed via yarn or npm:
npm install semantic-ui-react semantic-ui-css
##After install, import the minified CSS file in your app's entry file:
import 'semantic-ui-css/semantic.min.css'
#Themes from Semantic UI >=2.3.x require Semantic UI React >=0.81.0.

Tags:

Html Example