SlideShare a Scribd company logo
1 of 30
ERIC OVERFIELD | PixelMill
Microsoft MVP & RD
USE OFFICE UI FABRIC
TO BUILD BEAUTY
WITH SHAREPOINT
http://pxml.ly/EO-Office-UI-Fabric
ERIC OVERFIELD
President & Co-Founder of PixelMill
Microsoft MVP, Office Servers & Services
Microsoft Regional Director
Published SharePoint Author
SharePoint Community Organizer & Contributor @ericoverfield
ericoverfield.com
PixelMill is a modern SharePoint Design Agency based in Northern California. On the forefront of
web design trends since 1998, PixelMill provides innovative collaboration portals to enhance the
user adoption of SharePoint intranets, extranets, and public facing sites.
PIXELMILL
@pixelmillteam
pixelmill.com
1. Office UI Fabric Overview
2. Included UI Fabric in Projects
3. Utilizing and Extending UI Fabric
4. UI Fabric and the SharePoint Framework
OVERVIEW
Office UI Fabric
In a Nutshell
@ericoverfieldericoverfield.com
Office UI Fabric
• A framework for building custom Office 365 / SharePoint front-end experiences
• Open source: https://github.com/OfficeDev/office-ui-fabric-core
• https://dev.office.com/fabric
• Primary pillars
• Core: Styles / CSS
• JavaScript: Interactions
• React: UI integration
• AngularJS: open source project
OFFICE UI FABRIC
@ericoverfieldericoverfield.com
Office UI Fabric
• Styles
• Typography - Segoe UI Font
• Color palette
• Responsive grid
• Animations
• Icons
• Office’s official product icons
• Product and document symbols
OFFICE UI FABRIC – WHAT WE GET
• Components
• Navigation
• Input containers
• Content blocks
• People picker, persona card and more
Why Office UI Fabric
@ericoverfieldericoverfield.com
Why you will use Office UI Fabric
• Consistency of interface with custom components
• SharePoint Framework has UI Fabric built in
• Allows developers to focus on functionality, not the look
• Speed up the development cycle
WHY OFFICE UI FABRIC
Demo
OFFICE UI FABRIC IN ACTION
@ericoverfieldericoverfield.com
Office UI Fabric comes in different flavors
• Fabric Core Styles
• Core elements of the design language, including icons, colors, type, and grid
• Fabric React
• Robust, up-to-date components built with the React framework
• Fabric JS
• Simple, visuals-focused components that you can extend, rework, and use
• Angular JS
• Community-driven project to build components for Angular-based apps
OFFICE UI FABRIC – CHOOSE THE RIGHT FLAVOR
@ericoverfieldericoverfield.com
Office UI Fabric Core – Styles and components
• The starting place for utilizing the core design
OFFICE UI FABRIC CORE
Styles
• Animations
• Brand icons
• Colors
• Icons
• Layout
• Localization
• Typography
• Utilities
@ericoverfieldericoverfield.com
Icons
• <i class="ms-Icon ms-Icon--Mail" aria-hidden="true"></i>
Layout
• Grids – responsive
Animations
• <div class="ms-u-slideRightIn10">This content will slide in.</div>
OFFICE UI FABRIC CORE - EXAMPLES
@ericoverfieldericoverfield.com
Office UI Fabric JS - Interactions
• Add UI interactions with Office UI Fabric JS
• Panels, Dialogs, Callouts and much more
OFFICE UI FABRIC JS
Components
• Breadcrumb
• Button
• Callout
• Checkbox
• ChoiceGroup
• ColorPicker
• CommandBar
• ContextualMenu
• DatePicker
• DetailsList
• Dialog
• DocumentCard
• Dropdown
• Facepile
• GroupedList
• Image
• Label
• Layer
• Link
• List
• MessageBar
• Nav
• Overlay
• Panel
• Persona
• Pickers
• PeoplePicker
• Pivot
• ProgressIndicator
• Rating
• SearchBox
• Slider
• Spinner
• TextField
• Toggle
@ericoverfieldericoverfield.com
Breadcrumbs
OFFICE UI FABRIC JS - EXAMPLE
ADDING OFFICE UI FABRIC
TO YOUR NEXT PROJECT
@ericoverfieldericoverfield.com
OFFICE UI FABRIC INTEGRATION METHODS
Using Office UI Fabric
• Simplest method to connect to Fabric – call Fabric CSS / JS
• <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.2.0/css/fabric.min.css"
/>
• <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-
js/1.2.0/css/fabric.components.min.css" />
• <script src="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.2.0/js/fabric.min.js"></script>
• If you are using NodeJS:
• npm --save install office-ui-fabric office-ui-fabric-js office-ui-fabric-react
• Then link in your source
• Download the source and include in toolchain
• https://github.com/OfficeDev/office-ui-fabric-core
• https://github.com/OfficeDev/office-ui-fabric-js
• https://github.com/OfficeDev/office-ui-fabric-react
• Update gulpfile.js to include components
@ericoverfieldericoverfield.com
OFFICE UI FABRIC INTEGRATION WITH SHAREPOINT
Using Office UI Fabric in SharePoint
• Obtain source if including or customizing Fabric direct in project
• Update the Master Page
• Less ideal as custom master pages are not recommended
• Alternative CSS / JavaScript Embed
• Install via PnP / Feature Framework / PowerShell
• Include link / script tags in custom webparts
• SharePoint Framework includes pre-integration
Demo
INCLUDE OFFICE UI FABRIC
IN TOOLCHAIN
OFFICE UI FABRIC REACT
@ericoverfieldericoverfield.com
Office UI Fabric React
• Office UI Fabric pre-integrated with React
• Community project existing for combining with AngularJS
• Native to SharePoint Framework
• Pre-included in yeoman template, no need for special tricks
• Where team appears to be spending effort
• i.e. Fabric React more robust than Fabric JS
OFFICE UI FABRIC REACT
Demo
OFFICE UI FABRIC REACT AND
THE SHAREPOINT FRAMEWORK
MAKE OFFICE UI FABRIC
YOUR OWN
Improve UI Fabric with your own requirements
• UI Fabric built on open source tooling
• NodeJS, gulp, etc
• Can easily add your own components
• Enhanced styles
• JS Components
• UI Fabric updates often though, be mindful of customizations
• May lose custom code if not careful with update
EXTEND THE UI FABRIC
Demo
EXTEND THE UI FABRIC
1. Learn by doing
• Get started now
2. Move to React / Angular
• A rendering engine gets to closer to SPFx
3. Watch for updates, they keep coming
• New styles, controls and more
4. Look at examples for what controls are possible
• You will find ideas you hadn’t considered
RECOMMENDATIONS
REVIEW
1. Office UI Fabric Overview
2. Included UI Fabric in Projects
3. Utilizing and Extending UI Fabric
4. UI Fabric and the SharePoint Framework
RESOURCES
RESOURCES
• Office UI Fabric
https://dev.office.com/fabric
• Office UI Fabric JS
https://dev.office.com/fabric-js/GetStarted/GetStarted.html
• GitHub: Office UI Fabric Core
https://github.com/OfficeDev/office-ui-fabric-core
• GitHub: Office UI Fabric React
https://github.com/OfficeDev/office-ui-fabric-react
• GitHub: Office UI Fabric JS
https://github.com/OfficeDev/office-ui-fabric-js
• React Quickstart
https://facebook.github.io/react/tutorial/tutorial.html
• Presentation Source code
https://github.com/eoverfield/SP-Office-UI-Fabric
• Provisioning with PnP PowerShell
https://www.youtube.com/watch?v=h9iZpK_6iG4
THANK YOU
USE OFFICE UI FABRIC
TO BUILD BEAUTY
WITH SHAREPOINT

More Related Content

What's hot

SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
Bill Ayers
 
SharePoint 2013 Design manager – from HTML to SharePoint
SharePoint 2013 Design manager – from HTML to SharePointSharePoint 2013 Design manager – from HTML to SharePoint
SharePoint 2013 Design manager – from HTML to SharePoint
Eric Overfield
 
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
SPUnite17 Migrating your Customizations from On-prem to SharePoint OnlineSPUnite17 Migrating your Customizations from On-prem to SharePoint Online
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
NCCOMMS
 

What's hot (20)

Broaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding optionsBroaden your dev skillset with SharePoint branding options
Broaden your dev skillset with SharePoint branding options
 
O365: Attack of the Clones
O365: Attack of the ClonesO365: Attack of the Clones
O365: Attack of the Clones
 
Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)Introduction to SharePoint Framework (SPFx)
Introduction to SharePoint Framework (SPFx)
 
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 DevelopmentSharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
 
SharePoint Fest Chicago 2019 - From SharePoint to Office 365 Development
SharePoint Fest Chicago 2019 - From SharePoint to Office 365 DevelopmentSharePoint Fest Chicago 2019 - From SharePoint to Office 365 Development
SharePoint Fest Chicago 2019 - From SharePoint to Office 365 Development
 
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
SPS Paris: Building great client-side web parts with spfx, pnp-js-core, React...
 
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 DevelopmentSharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
 
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
ecs19 - Bill Ayers - RE-USE YOUR SHAREPOINT FRAMEWORK SKILLZ TO BUILD OFFICE ...
 
SharePoint Saturday Ottawa - From SharePoint to Office 365 Development
SharePoint Saturday Ottawa - From SharePoint to Office 365 DevelopmentSharePoint Saturday Ottawa - From SharePoint to Office 365 Development
SharePoint Saturday Ottawa - From SharePoint to Office 365 Development
 
Branding office 365 with front end tooling
Branding office 365 with front end toolingBranding office 365 with front end tooling
Branding office 365 with front end tooling
 
SharePoint Development with Visual Studio 2012
SharePoint Development with Visual Studio 2012SharePoint Development with Visual Studio 2012
SharePoint Development with Visual Studio 2012
 
Things you can do to brand Office 365 now
Things you can do to brand Office 365 nowThings you can do to brand Office 365 now
Things you can do to brand Office 365 now
 
All about SPFx
All about SPFxAll about SPFx
All about SPFx
 
An Introduction to the Office 365 Patterns and Practices Project
An Introduction to the Office 365 Patterns and Practices ProjectAn Introduction to the Office 365 Patterns and Practices Project
An Introduction to the Office 365 Patterns and Practices Project
 
What's in SharePoint land 2016 for the end user
What's in SharePoint land 2016 for the end userWhat's in SharePoint land 2016 for the end user
What's in SharePoint land 2016 for the end user
 
Branding Modern SharePoint
Branding Modern SharePointBranding Modern SharePoint
Branding Modern SharePoint
 
SPUnite17 SPFx Extensions
SPUnite17 SPFx ExtensionsSPUnite17 SPFx Extensions
SPUnite17 SPFx Extensions
 
SharePoint 2013 Design manager – from HTML to SharePoint
SharePoint 2013 Design manager – from HTML to SharePointSharePoint 2013 Design manager – from HTML to SharePoint
SharePoint 2013 Design manager – from HTML to SharePoint
 
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
SPUnite17 Migrating your Customizations from On-prem to SharePoint OnlineSPUnite17 Migrating your Customizations from On-prem to SharePoint Online
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
 
ESPC Webinar - From SharePoint to Office 365 Development
ESPC Webinar - From SharePoint to Office 365 DevelopmentESPC Webinar - From SharePoint to Office 365 Development
ESPC Webinar - From SharePoint to Office 365 Development
 

Similar to Use office ui fabric react to build beauty with SharePoint

Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...
Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...
Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...
BIWUG
 
Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013
Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013
Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013
WinWire Technologies Inc
 
4Ward Company Presentation
4Ward Company Presentation4Ward Company Presentation
4Ward Company Presentation
4Ward
 

Similar to Use office ui fabric react to build beauty with SharePoint (20)

Intro to the Office UI Fabric
Intro to the Office UI FabricIntro to the Office UI Fabric
Intro to the Office UI Fabric
 
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
D1 - Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and...
 
All about Office UI Fabric
All about Office UI FabricAll about Office UI Fabric
All about Office UI Fabric
 
Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...
Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...
Yo Office! Use your SPFx Skills to Build Add-Ins for Word, Excel, Outlook and...
 
SPUnite17 Become a Developer Hero by Building Office Add ins
SPUnite17 Become a Developer Hero by Building Office Add insSPUnite17 Become a Developer Hero by Building Office Add ins
SPUnite17 Become a Developer Hero by Building Office Add ins
 
SharePoint Fest Chicago - From SharePoint to Office 365 Development
SharePoint Fest Chicago - From SharePoint to Office 365 DevelopmentSharePoint Fest Chicago - From SharePoint to Office 365 Development
SharePoint Fest Chicago - From SharePoint to Office 365 Development
 
Develop, Build, Package and Deploy Office Add-ins with Visual Studio - ESPC 2015
Develop, Build, Package and Deploy Office Add-ins with Visual Studio - ESPC 2015Develop, Build, Package and Deploy Office Add-ins with Visual Studio - ESPC 2015
Develop, Build, Package and Deploy Office Add-ins with Visual Studio - ESPC 2015
 
How to build SharePoint 2013 Killer Apps
How to build SharePoint 2013 Killer AppsHow to build SharePoint 2013 Killer Apps
How to build SharePoint 2013 Killer Apps
 
Iconus 2016
Iconus 2016Iconus 2016
Iconus 2016
 
ESPC 2016 - From SharePoint to Office 365 Development - The path to your new ...
ESPC 2016 - From SharePoint to Office 365 Development - The path to your new ...ESPC 2016 - From SharePoint to Office 365 Development - The path to your new ...
ESPC 2016 - From SharePoint to Office 365 Development - The path to your new ...
 
Office Add-ins developer community call-January 2020
Office Add-ins developer community call-January 2020Office Add-ins developer community call-January 2020
Office Add-ins developer community call-January 2020
 
PLAT-20 Building Alfresco Prototypes in a Few Hours
PLAT-20 Building Alfresco Prototypes in a Few HoursPLAT-20 Building Alfresco Prototypes in a Few Hours
PLAT-20 Building Alfresco Prototypes in a Few Hours
 
SPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFxSPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFx
 
Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013
Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013
Wired2Win Webinar - Design & Deploy great looking portals with SharePoint 2013
 
About 4Ward
About 4WardAbout 4Ward
About 4Ward
 
4Ward Company Presentation
4Ward Company Presentation4Ward Company Presentation
4Ward Company Presentation
 
Build 2017 - Whats new for Xamarin Devs
Build 2017 - Whats new for Xamarin DevsBuild 2017 - Whats new for Xamarin Devs
Build 2017 - Whats new for Xamarin Devs
 
GAB2017 - Azure function to build serverless SharePoint apps
GAB2017 - Azure function to build serverless SharePoint appsGAB2017 - Azure function to build serverless SharePoint apps
GAB2017 - Azure function to build serverless SharePoint apps
 
Results from our survey of UI/UX needs
Results from our survey of UI/UX needsResults from our survey of UI/UX needs
Results from our survey of UI/UX needs
 
CCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio Franzini
CCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio FranziniCCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio Franzini
CCI 2017 - Introduzione a SharePoint Framework (SPFx) - Fabio Franzini
 

More from Eric Overfield

More from Eric Overfield (14)

Microsoft Ignite 2016 In Review
Microsoft Ignite 2016 In ReviewMicrosoft Ignite 2016 In Review
Microsoft Ignite 2016 In Review
 
The Future of SharePoint - What You Need to Know
The Future of SharePoint - What You Need to KnowThe Future of SharePoint - What You Need to Know
The Future of SharePoint - What You Need to Know
 
Branding SharePoint from Prototype to Deployment - Workshop
Branding SharePoint from Prototype to Deployment - WorkshopBranding SharePoint from Prototype to Deployment - Workshop
Branding SharePoint from Prototype to Deployment - Workshop
 
Create your own SharePoint Master Pages and Page Layouts
Create your own SharePoint Master Pages and Page LayoutsCreate your own SharePoint Master Pages and Page Layouts
Create your own SharePoint Master Pages and Page Layouts
 
Share point 2013 apps and i mean it
Share point 2013 apps and i mean itShare point 2013 apps and i mean it
Share point 2013 apps and i mean it
 
Your SharePoint 2013 Branding Initiation
Your SharePoint 2013 Branding InitiationYour SharePoint 2013 Branding Initiation
Your SharePoint 2013 Branding Initiation
 
Shape SharePoint 2013 for Mobile
Shape SharePoint 2013 for MobileShape SharePoint 2013 for Mobile
Shape SharePoint 2013 for Mobile
 
The 2013 Design Manager - From HTML to SharePoint
The 2013 Design Manager - From HTML to SharePointThe 2013 Design Manager - From HTML to SharePoint
The 2013 Design Manager - From HTML to SharePoint
 
The Design Dilemma of Mobile and SharePoint
The Design Dilemma of Mobile and SharePointThe Design Dilemma of Mobile and SharePoint
The Design Dilemma of Mobile and SharePoint
 
Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365Integrating Search Driven Content in SharePoint 2013/2016/O365
Integrating Search Driven Content in SharePoint 2013/2016/O365
 
Enhance SharePoint 2013 with Responsive Web Design
Enhance SharePoint 2013 with Responsive Web DesignEnhance SharePoint 2013 with Responsive Web Design
Enhance SharePoint 2013 with Responsive Web Design
 
Enhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web DesignEnhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web Design
 
Reshaping SharePoint for Evolving Internet Devices
Reshaping SharePoint for Evolving Internet DevicesReshaping SharePoint for Evolving Internet Devices
Reshaping SharePoint for Evolving Internet Devices
 
SharePoint Branding - Change Your Look
SharePoint Branding - Change Your LookSharePoint Branding - Change Your Look
SharePoint Branding - Change Your Look
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Use office ui fabric react to build beauty with SharePoint

  • 1. ERIC OVERFIELD | PixelMill Microsoft MVP & RD USE OFFICE UI FABRIC TO BUILD BEAUTY WITH SHAREPOINT http://pxml.ly/EO-Office-UI-Fabric
  • 2. ERIC OVERFIELD President & Co-Founder of PixelMill Microsoft MVP, Office Servers & Services Microsoft Regional Director Published SharePoint Author SharePoint Community Organizer & Contributor @ericoverfield ericoverfield.com
  • 3. PixelMill is a modern SharePoint Design Agency based in Northern California. On the forefront of web design trends since 1998, PixelMill provides innovative collaboration portals to enhance the user adoption of SharePoint intranets, extranets, and public facing sites. PIXELMILL @pixelmillteam pixelmill.com
  • 4. 1. Office UI Fabric Overview 2. Included UI Fabric in Projects 3. Utilizing and Extending UI Fabric 4. UI Fabric and the SharePoint Framework OVERVIEW
  • 5. Office UI Fabric In a Nutshell
  • 6. @ericoverfieldericoverfield.com Office UI Fabric • A framework for building custom Office 365 / SharePoint front-end experiences • Open source: https://github.com/OfficeDev/office-ui-fabric-core • https://dev.office.com/fabric • Primary pillars • Core: Styles / CSS • JavaScript: Interactions • React: UI integration • AngularJS: open source project OFFICE UI FABRIC
  • 7. @ericoverfieldericoverfield.com Office UI Fabric • Styles • Typography - Segoe UI Font • Color palette • Responsive grid • Animations • Icons • Office’s official product icons • Product and document symbols OFFICE UI FABRIC – WHAT WE GET • Components • Navigation • Input containers • Content blocks • People picker, persona card and more
  • 8. Why Office UI Fabric
  • 9. @ericoverfieldericoverfield.com Why you will use Office UI Fabric • Consistency of interface with custom components • SharePoint Framework has UI Fabric built in • Allows developers to focus on functionality, not the look • Speed up the development cycle WHY OFFICE UI FABRIC
  • 11. @ericoverfieldericoverfield.com Office UI Fabric comes in different flavors • Fabric Core Styles • Core elements of the design language, including icons, colors, type, and grid • Fabric React • Robust, up-to-date components built with the React framework • Fabric JS • Simple, visuals-focused components that you can extend, rework, and use • Angular JS • Community-driven project to build components for Angular-based apps OFFICE UI FABRIC – CHOOSE THE RIGHT FLAVOR
  • 12. @ericoverfieldericoverfield.com Office UI Fabric Core – Styles and components • The starting place for utilizing the core design OFFICE UI FABRIC CORE Styles • Animations • Brand icons • Colors • Icons • Layout • Localization • Typography • Utilities
  • 13. @ericoverfieldericoverfield.com Icons • <i class="ms-Icon ms-Icon--Mail" aria-hidden="true"></i> Layout • Grids – responsive Animations • <div class="ms-u-slideRightIn10">This content will slide in.</div> OFFICE UI FABRIC CORE - EXAMPLES
  • 14. @ericoverfieldericoverfield.com Office UI Fabric JS - Interactions • Add UI interactions with Office UI Fabric JS • Panels, Dialogs, Callouts and much more OFFICE UI FABRIC JS Components • Breadcrumb • Button • Callout • Checkbox • ChoiceGroup • ColorPicker • CommandBar • ContextualMenu • DatePicker • DetailsList • Dialog • DocumentCard • Dropdown • Facepile • GroupedList • Image • Label • Layer • Link • List • MessageBar • Nav • Overlay • Panel • Persona • Pickers • PeoplePicker • Pivot • ProgressIndicator • Rating • SearchBox • Slider • Spinner • TextField • Toggle
  • 16. ADDING OFFICE UI FABRIC TO YOUR NEXT PROJECT
  • 17. @ericoverfieldericoverfield.com OFFICE UI FABRIC INTEGRATION METHODS Using Office UI Fabric • Simplest method to connect to Fabric – call Fabric CSS / JS • <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.2.0/css/fabric.min.css" /> • <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric- js/1.2.0/css/fabric.components.min.css" /> • <script src="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.2.0/js/fabric.min.js"></script> • If you are using NodeJS: • npm --save install office-ui-fabric office-ui-fabric-js office-ui-fabric-react • Then link in your source • Download the source and include in toolchain • https://github.com/OfficeDev/office-ui-fabric-core • https://github.com/OfficeDev/office-ui-fabric-js • https://github.com/OfficeDev/office-ui-fabric-react • Update gulpfile.js to include components
  • 18. @ericoverfieldericoverfield.com OFFICE UI FABRIC INTEGRATION WITH SHAREPOINT Using Office UI Fabric in SharePoint • Obtain source if including or customizing Fabric direct in project • Update the Master Page • Less ideal as custom master pages are not recommended • Alternative CSS / JavaScript Embed • Install via PnP / Feature Framework / PowerShell • Include link / script tags in custom webparts • SharePoint Framework includes pre-integration
  • 19. Demo INCLUDE OFFICE UI FABRIC IN TOOLCHAIN
  • 21. @ericoverfieldericoverfield.com Office UI Fabric React • Office UI Fabric pre-integrated with React • Community project existing for combining with AngularJS • Native to SharePoint Framework • Pre-included in yeoman template, no need for special tricks • Where team appears to be spending effort • i.e. Fabric React more robust than Fabric JS OFFICE UI FABRIC REACT
  • 22. Demo OFFICE UI FABRIC REACT AND THE SHAREPOINT FRAMEWORK
  • 23. MAKE OFFICE UI FABRIC YOUR OWN
  • 24. Improve UI Fabric with your own requirements • UI Fabric built on open source tooling • NodeJS, gulp, etc • Can easily add your own components • Enhanced styles • JS Components • UI Fabric updates often though, be mindful of customizations • May lose custom code if not careful with update EXTEND THE UI FABRIC
  • 26. 1. Learn by doing • Get started now 2. Move to React / Angular • A rendering engine gets to closer to SPFx 3. Watch for updates, they keep coming • New styles, controls and more 4. Look at examples for what controls are possible • You will find ideas you hadn’t considered RECOMMENDATIONS
  • 27. REVIEW 1. Office UI Fabric Overview 2. Included UI Fabric in Projects 3. Utilizing and Extending UI Fabric 4. UI Fabric and the SharePoint Framework
  • 29. RESOURCES • Office UI Fabric https://dev.office.com/fabric • Office UI Fabric JS https://dev.office.com/fabric-js/GetStarted/GetStarted.html • GitHub: Office UI Fabric Core https://github.com/OfficeDev/office-ui-fabric-core • GitHub: Office UI Fabric React https://github.com/OfficeDev/office-ui-fabric-react • GitHub: Office UI Fabric JS https://github.com/OfficeDev/office-ui-fabric-js • React Quickstart https://facebook.github.io/react/tutorial/tutorial.html • Presentation Source code https://github.com/eoverfield/SP-Office-UI-Fabric • Provisioning with PnP PowerShell https://www.youtube.com/watch?v=h9iZpK_6iG4
  • 30. THANK YOU USE OFFICE UI FABRIC TO BUILD BEAUTY WITH SHAREPOINT

Editor's Notes

  1. Slides will be available from blog and twitter A look at what Office UI Fabric is, how to get it, use it and improve it Focus on SharePoint direct integration, but could also use in Add-ins and other projects with similar techniques DEMO HEAVY
  2. Get screenshots of each from: https://dev.office.com/fabric#/get-started Also, could be make this more of a table or column based?
  3. Look at Fabric UI website Primary focuses and how to use site Look at the Office UI Fabric in action on a demo site with a few webparts on a page already styled with fabric List view using table Responsive grid How about a script editor webpart that pulls in a script that does magic with handlebars. Pull in list data Create a form in a dialog a navigation bar or breadcrumb
  4. https://dev.office.com/fabric#/get-started
  5. Lst of core components from https://dev.office.com/fabric#/get-started Styles and component and icons
  6. Look to download and include UI Fabric in toolchain of custom webpart project Webpart may be a part of the previous demo
  7. Start up a spfx webpart (how about task list demo) Could also use a native SP implementation using a CEWP for basic code, JS Embed for including react and rest
  8. Create the custom dialog that is fluid / centered