8-Week Microsoft Teams AppDev Accelerator Program
Limited seats available! - Start date: Wednesday, April 16, 2025
Join Today & Save $1,000
articles

Sharing my SharePoint Hosted Apps as a SPA UX Templates

Building a SPA as a SharePoint-Hosted App requires deciding on the UX implementation. Options like jQuery UI or Bootstrap are available

Sharing my SharePoint Hosted Apps as a SPA UX Templates
by Andrew Connell

Last updated April 23, 2014
2 minutes read

Share this

Focus Mode

  • Feedback & questions

So, you’ve decided you want to build a single page app (SPA) as a SharePoint-Hosted App. One question will have to address is how you want to implement the user experience of your app. There are plenty of options… some are tempted to use the awesome libraries jQuery UI or Bootstrap to name just two of those.

However I do prefer to make the UX of my SPA to match the SharePoint UX as much as I can when it’s a SharePoint-Hosted App. I prefer this approach because my users are already coming from SharePoint so I can take advantage of the fact my users are already familiar with SharePoint’s UX and thus, I don’t have to train them on how to use the quick launch for my navigation, or the header contains the title of the page as a breadcrumb, or list and detail pages work the same way.

To support this, I’ve created a couple snippets of HTML that leverage the markup & CSS classes that Microsoft used in creating the UX. These are the same templates I used to create my recently published course in Pluralsight…

My upcoming new Pluralsight course, Building SharePoint Apps as Single Page Apps with AngularJS, demonstrates how to create SharePoint Hosted Apps as Single Page Apps and uses these templates.

Here are two screenshots from a list & detail view:

SharePoint SPA List UX

SharePoint SPA List UX

SharePoint SPA Detail UX

SharePoint SPA Detail UX

I’ve posted all my templates as public Gists so you can grab them and use them in your projects. There’s no magic here… it’s all just copy-paste from the SharePoint markup & CSS:

Here’s what one of them looks like, the Working On It snippet:

Andrew Connell, Microsoft MVP, Full-Stack Developer & Chief Course Artisan - Voitanos LLC.
author
Andrew Connell

Microsoft MVP, Full-Stack Developer & Chief Course Artisan - Voitanos LLC.

Andrew Connell is a full stack developer who focuses on Microsoft Azure & Microsoft 365. He’s a 20+ year recipient of Microsoft’s MVP award and has helped thousands of developers through the various courses he’s authored & taught. Whether it’s an introduction to the entire ecosystem, or a deep dive into a specific software, his resources, tools, and support help web developers become experts in the Microsoft 365 ecosystem, so they can become irreplaceable in their organization.

Feedback & Questions

newsletter

Join 10,000+ developers for news & insights

No clickbait · 100% free · Unsubscribe anytime.

Subscribe to Andrew's newsletter for insights & stay on top of the latest news in the Microsoft 365 Space!
blurry dot in brand primary color
found this article helpful?

You'll love these!

SharePoint Hosted Apps in SP2013 as Single Page Apps

SharePoint Hosted Apps in SP2013 as Single Page Apps

June 4, 2013

Read now

Understanding Challenges Using Breeze and SharePoint OOTB

Understanding Challenges Using Breeze and SharePoint OOTB

March 4, 2014

Read now

bi-weekly newsletter

Join 10,000+ Microsoft 365 full-stack web developers for news, insights & resources. 100% free.

Subscribe to Andrew's newsletter for insights & stay on top of the latest news in the Microsoft 365 ecosystem!

No clickbait · 100% free · Unsubscribe anytime.

Subscribe to Andrew's newsletter for insights & stay on top of the latest news in the Microsoft 365 Space!