SlideShare a Scribd company logo
Semantic-ui-react
natankrasney@gmail.com
1
What resources i am giving you
● This video - “Introduction to semantic-ui-react”
● Github project with semantic-ui-react samples i have
prepared up front (link1)
● Slides of this presentation at slideshare
● Github project with semantic-ui-react samples i will use in
the video (link2 , added after the video was done...)
● My react course “Learn React in a Better Way” @UDEMY
at reduced price (link3)
natankrasney@gmail.com
2
All links are on last slide
Why developers choose semantic-ui
Check Link4
npm of semantic-ui-react - Link5
natankrasney@gmail.com
3
What is semantic-ui-react
It's the official react integration of semantic-ui
natankrasney@gmail.com
4
Concept Description
JQuery free no direct dom access -> crucial for react
Declarative API <Rating rating={1} maxRating={5} /> -> known from react
Augmentation Element type to render as e.g. Menu.Item acts as react-router link
Shorthand props shorthand props generate markup for common use case- save you time. E.g. panel
of Accordion
Subcomponents Component can contain other components -> known from react
Auto Controlled state Stateful component use state internally e.g. Dropdown (need a sample code)
Introduction
● Documentation (Link6)
○ One of the best i have ever seen !!
○ Check left side - components : elements , collections , views , modules ,
behaviors , addons
○ Check per component right side and per sample (try it , html, …)
● One does not need to know css to use it , but you can combine both
natankrasney@gmail.com
5
Inner design
● Components are typescript class + interfaces e.g.
node_moudulessemantic-ui-reactsrcelementsButtonButton.d.ts is the
typescript class implementation of Button
● Check the html of e.g. Button and you will see that it is an html button element
with class “ui button” (use F12 elements)
● Go to definition of Button and you will see that it is react class component
● Button class has static data members e.g. Group
natankrasney@gmail.com
6
Installation
npm install semantic-ui-css semantic-ui-react
Add import "semantic-ui-css/semantic.min.css"; to index.js
natankrasney@gmail.com
7
Sample code
Link1
natankrasney@gmail.com
8
Components in the sample
natankrasney@gmail.com
9
Component Class static data members Remark
Button Content,Group,Or
Label Detail,Group
Message Content,Header,Item,List
Card Content,Description,Group,Header,Meta
Item Content,Description,Extra,Group,Header,Image,Meta Used e.g. as Menu , Dropdown
item
More components in the sample
natankrasney@gmail.com
10
Component Class static data members Remark
Form Button,
Checkbox,DropDown,Field,Group,Input,Radio,Select
, TextArea
List Content,Description,Header,Icon,Item.List
Menu Header,Item,Menu
Table Body,Cell,Footer,Header,HeaderCell,Row
Step Content,Description,Group,Title
Grid Row,Col Can be used for vertical and
horizontal alignment e.g. for
login form
More elements
natankrasney@gmail.com
11
Component Class static data members Remark
Container none Limit content to max width.
Header Content,Subheader Generalization of h1,h2,h3,...
Divider none Divide between segment. Most simple usage is a line
Placeholder Header,Image,Line,Paragraph Reserve space for content that can appear soon
Rail none Show accompanying content on the main view of the web site
Reveal Content Display additional content in place of other content
Segment Group,Inline Group related content,looks to be used as div. Looks like it
handle layout : TextAlignment , floated,color,padding, font size
Non self explanatory views
12
Component Class static data members Remark
Advertisement none Many ways to show ads e.g. google ads
Comment Action,Actions,Author,Avatar,Content,
Group,Metacontent
Human comment with image,name,content,..
Feed Content,Date,Event,Extra,Label,Like,
Meta,Summary,User
Shows human activity chronologically e.g. chat
Non self explanatory modules
13
Component Class static data members Remark
Embed none E.g. YouTube
Behaviors
14
Component Class static data members Remark
Visibility none Set of callback to be called when content appears
on the viewport (user visible area of the web
page)
Non self explanatory Addons
15
Component Class static data members Remark
MountNode none Use case is not clear yet
Portal inner Use case is not clear yet
Ref FindNode , Forward Handle react ref
Links
16
Link1 Github project with semantic-ui-react samples i have prepared up front
Link2 Github project with semantic-ui-react sample i will use in the video
Link3 My React course @ UDEMY
Link4 Why developers choose semantic-ui
Link5 npm of semantic-ui-react
Link6 semantic-ui-react documentation

More Related Content

Similar to Introduction to Semantic ui-react

Think components. March 2017
Think components. March 2017Think components. March 2017
Think components. March 2017
Ivan Babak
 
Django
DjangoDjango
django
djangodjango
Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011
Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011
Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011
Knowledge Cue
 
HTML 5 – Let’s Make Progress [eduWeb 2011]
HTML 5 – Let’s Make Progress [eduWeb 2011]HTML 5 – Let’s Make Progress [eduWeb 2011]
HTML 5 – Let’s Make Progress [eduWeb 2011]Shahab Lashkari
 
Reactive web
Reactive webReactive web
Reactive web
dega1999
 
Experiments in Linked Data
Experiments in Linked DataExperiments in Linked Data
Experiments in Linked Data
Lars Marius Garshol
 
Web components are the future of the web - Take advantage of new web technolo...
Web components are the future of the web - Take advantage of new web technolo...Web components are the future of the web - Take advantage of new web technolo...
Web components are the future of the web - Take advantage of new web technolo...
Marios Fakiolas
 
TeamPage Beginner to Jedi, Jordan Frank
TeamPage Beginner to Jedi, Jordan FrankTeamPage Beginner to Jedi, Jordan Frank
TeamPage Beginner to Jedi, Jordan Frank
Traction Software
 
Thinking in components
Thinking in componentsThinking in components
Thinking in components
Razvan Rosu
 
Theme development workflow
Theme development workflowTheme development workflow
Theme development workflow
Shameem Reza
 
What are the components in React?
What are the components in React?What are the components in React?
What are the components in React?
BOSC Tech Labs
 
M365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx VersionM365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx Version
Thomas Daly
 
Budget wise technologies
Budget wise technologiesBudget wise technologies
Budget wise technologies
Reva McPollom
 
Web driver selenium simplified
Web driver selenium simplifiedWeb driver selenium simplified
Web driver selenium simplified
Vikas Singh
 
Drupal Workshop
Drupal WorkshopDrupal Workshop
Drupal Workshop
Rick McKinnon
 
Swf search final
Swf search finalSwf search final
Swf search final
Duane Nickull
 
Top tips from what we've learned from our 10 years experience
Top tips from what we've learned from our 10 years experienceTop tips from what we've learned from our 10 years experience
Top tips from what we've learned from our 10 years experience
JoomlaDay Australia
 
SharePoint 2010 Introduction
SharePoint 2010 IntroductionSharePoint 2010 Introduction
SharePoint 2010 Introduction
Vishal Gupta
 

Similar to Introduction to Semantic ui-react (20)

Think components. March 2017
Think components. March 2017Think components. March 2017
Think components. March 2017
 
Django
DjangoDjango
Django
 
django
djangodjango
django
 
Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011
Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011
Mark Orange - SharePoint 2010 Content Types Model - SPC NZ 2011
 
HTML 5 – Let’s Make Progress [eduWeb 2011]
HTML 5 – Let’s Make Progress [eduWeb 2011]HTML 5 – Let’s Make Progress [eduWeb 2011]
HTML 5 – Let’s Make Progress [eduWeb 2011]
 
Fccwc326
Fccwc326Fccwc326
Fccwc326
 
Reactive web
Reactive webReactive web
Reactive web
 
Experiments in Linked Data
Experiments in Linked DataExperiments in Linked Data
Experiments in Linked Data
 
Web components are the future of the web - Take advantage of new web technolo...
Web components are the future of the web - Take advantage of new web technolo...Web components are the future of the web - Take advantage of new web technolo...
Web components are the future of the web - Take advantage of new web technolo...
 
TeamPage Beginner to Jedi, Jordan Frank
TeamPage Beginner to Jedi, Jordan FrankTeamPage Beginner to Jedi, Jordan Frank
TeamPage Beginner to Jedi, Jordan Frank
 
Thinking in components
Thinking in componentsThinking in components
Thinking in components
 
Theme development workflow
Theme development workflowTheme development workflow
Theme development workflow
 
What are the components in React?
What are the components in React?What are the components in React?
What are the components in React?
 
M365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx VersionM365 global developer bootcamp 2019 Intro to SPFx Version
M365 global developer bootcamp 2019 Intro to SPFx Version
 
Budget wise technologies
Budget wise technologiesBudget wise technologies
Budget wise technologies
 
Web driver selenium simplified
Web driver selenium simplifiedWeb driver selenium simplified
Web driver selenium simplified
 
Drupal Workshop
Drupal WorkshopDrupal Workshop
Drupal Workshop
 
Swf search final
Swf search finalSwf search final
Swf search final
 
Top tips from what we've learned from our 10 years experience
Top tips from what we've learned from our 10 years experienceTop tips from what we've learned from our 10 years experience
Top tips from what we've learned from our 10 years experience
 
SharePoint 2010 Introduction
SharePoint 2010 IntroductionSharePoint 2010 Introduction
SharePoint 2010 Introduction
 

More from Nathan Krasney

React introduction
React introductionReact introduction
React introduction
Nathan Krasney
 
Angular 2 jump start
Angular 2 jump startAngular 2 jump start
Angular 2 jump start
Nathan Krasney
 
Angular 2 introduction
Angular 2 introductionAngular 2 introduction
Angular 2 introduction
Nathan Krasney
 
Angular 2 - Typescript
Angular 2  - TypescriptAngular 2  - Typescript
Angular 2 - Typescript
Nathan Krasney
 
Angular 2 binding
Angular 2  bindingAngular 2  binding
Angular 2 binding
Nathan Krasney
 
ADO.Net
ADO.NetADO.Net
JQuery
JQueryJQuery
ASP.net Security
ASP.net SecurityASP.net Security
ASP.net Security
Nathan Krasney
 
ASP.net Web Pages
ASP.net Web PagesASP.net Web Pages
ASP.net Web Pages
Nathan Krasney
 
ASP.net MVC
ASP.net MVCASP.net MVC
ASP.net MVC
Nathan Krasney
 
CSS
CSSCSS
Javascript with json
Javascript with jsonJavascript with json
Javascript with json
Nathan Krasney
 
javascript
javascriptjavascript
javascript
Nathan Krasney
 
Javascript ajax
Javascript ajaxJavascript ajax
Javascript ajax
Nathan Krasney
 
HTML5
HTML5 HTML5
HTML
HTML HTML
קורס אנדרואיד
קורס אנדרואידקורס אנדרואיד
קורס אנדרואיד
Nathan Krasney
 
Lessons learned from 6 month project with india based software house
Lessons learned from 6 month project with india based software houseLessons learned from 6 month project with india based software house
Lessons learned from 6 month project with india based software house
Nathan Krasney
 
Introduction to big data
Introduction to big data Introduction to big data
Introduction to big data
Nathan Krasney
 

More from Nathan Krasney (19)

React introduction
React introductionReact introduction
React introduction
 
Angular 2 jump start
Angular 2 jump startAngular 2 jump start
Angular 2 jump start
 
Angular 2 introduction
Angular 2 introductionAngular 2 introduction
Angular 2 introduction
 
Angular 2 - Typescript
Angular 2  - TypescriptAngular 2  - Typescript
Angular 2 - Typescript
 
Angular 2 binding
Angular 2  bindingAngular 2  binding
Angular 2 binding
 
ADO.Net
ADO.NetADO.Net
ADO.Net
 
JQuery
JQueryJQuery
JQuery
 
ASP.net Security
ASP.net SecurityASP.net Security
ASP.net Security
 
ASP.net Web Pages
ASP.net Web PagesASP.net Web Pages
ASP.net Web Pages
 
ASP.net MVC
ASP.net MVCASP.net MVC
ASP.net MVC
 
CSS
CSSCSS
CSS
 
Javascript with json
Javascript with jsonJavascript with json
Javascript with json
 
javascript
javascriptjavascript
javascript
 
Javascript ajax
Javascript ajaxJavascript ajax
Javascript ajax
 
HTML5
HTML5 HTML5
HTML5
 
HTML
HTML HTML
HTML
 
קורס אנדרואיד
קורס אנדרואידקורס אנדרואיד
קורס אנדרואיד
 
Lessons learned from 6 month project with india based software house
Lessons learned from 6 month project with india based software houseLessons learned from 6 month project with india based software house
Lessons learned from 6 month project with india based software house
 
Introduction to big data
Introduction to big data Introduction to big data
Introduction to big data
 

Recently uploaded

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 

Recently uploaded (20)

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 

Introduction to Semantic ui-react

  • 2. What resources i am giving you ● This video - “Introduction to semantic-ui-react” ● Github project with semantic-ui-react samples i have prepared up front (link1) ● Slides of this presentation at slideshare ● Github project with semantic-ui-react samples i will use in the video (link2 , added after the video was done...) ● My react course “Learn React in a Better Way” @UDEMY at reduced price (link3) natankrasney@gmail.com 2 All links are on last slide
  • 3. Why developers choose semantic-ui Check Link4 npm of semantic-ui-react - Link5 natankrasney@gmail.com 3
  • 4. What is semantic-ui-react It's the official react integration of semantic-ui natankrasney@gmail.com 4 Concept Description JQuery free no direct dom access -> crucial for react Declarative API <Rating rating={1} maxRating={5} /> -> known from react Augmentation Element type to render as e.g. Menu.Item acts as react-router link Shorthand props shorthand props generate markup for common use case- save you time. E.g. panel of Accordion Subcomponents Component can contain other components -> known from react Auto Controlled state Stateful component use state internally e.g. Dropdown (need a sample code)
  • 5. Introduction ● Documentation (Link6) ○ One of the best i have ever seen !! ○ Check left side - components : elements , collections , views , modules , behaviors , addons ○ Check per component right side and per sample (try it , html, …) ● One does not need to know css to use it , but you can combine both natankrasney@gmail.com 5
  • 6. Inner design ● Components are typescript class + interfaces e.g. node_moudulessemantic-ui-reactsrcelementsButtonButton.d.ts is the typescript class implementation of Button ● Check the html of e.g. Button and you will see that it is an html button element with class “ui button” (use F12 elements) ● Go to definition of Button and you will see that it is react class component ● Button class has static data members e.g. Group natankrasney@gmail.com 6
  • 7. Installation npm install semantic-ui-css semantic-ui-react Add import "semantic-ui-css/semantic.min.css"; to index.js natankrasney@gmail.com 7
  • 9. Components in the sample natankrasney@gmail.com 9 Component Class static data members Remark Button Content,Group,Or Label Detail,Group Message Content,Header,Item,List Card Content,Description,Group,Header,Meta Item Content,Description,Extra,Group,Header,Image,Meta Used e.g. as Menu , Dropdown item
  • 10. More components in the sample natankrasney@gmail.com 10 Component Class static data members Remark Form Button, Checkbox,DropDown,Field,Group,Input,Radio,Select , TextArea List Content,Description,Header,Icon,Item.List Menu Header,Item,Menu Table Body,Cell,Footer,Header,HeaderCell,Row Step Content,Description,Group,Title Grid Row,Col Can be used for vertical and horizontal alignment e.g. for login form
  • 11. More elements natankrasney@gmail.com 11 Component Class static data members Remark Container none Limit content to max width. Header Content,Subheader Generalization of h1,h2,h3,... Divider none Divide between segment. Most simple usage is a line Placeholder Header,Image,Line,Paragraph Reserve space for content that can appear soon Rail none Show accompanying content on the main view of the web site Reveal Content Display additional content in place of other content Segment Group,Inline Group related content,looks to be used as div. Looks like it handle layout : TextAlignment , floated,color,padding, font size
  • 12. Non self explanatory views 12 Component Class static data members Remark Advertisement none Many ways to show ads e.g. google ads Comment Action,Actions,Author,Avatar,Content, Group,Metacontent Human comment with image,name,content,.. Feed Content,Date,Event,Extra,Label,Like, Meta,Summary,User Shows human activity chronologically e.g. chat
  • 13. Non self explanatory modules 13 Component Class static data members Remark Embed none E.g. YouTube
  • 14. Behaviors 14 Component Class static data members Remark Visibility none Set of callback to be called when content appears on the viewport (user visible area of the web page)
  • 15. Non self explanatory Addons 15 Component Class static data members Remark MountNode none Use case is not clear yet Portal inner Use case is not clear yet Ref FindNode , Forward Handle react ref
  • 16. Links 16 Link1 Github project with semantic-ui-react samples i have prepared up front Link2 Github project with semantic-ui-react sample i will use in the video Link3 My React course @ UDEMY Link4 Why developers choose semantic-ui Link5 npm of semantic-ui-react Link6 semantic-ui-react documentation