Skip to content

Uniform starters and examples with different front-end frameworks and CDNs

Notifications You must be signed in to change notification settings

uniformdev/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniform Examples

This repo contains various examples to facilitate your getting-started experience with Uniform capabilities, such as Uniform Context, Uniform Canvas, and Uniform Mesh.

‼️ For a more complete starter kit, consider looking at the Component Starter Kit instead. It contains essential set of components you need to start building personalized web experiences with Uniform. Built with TailwindCSS, React, and Next.js 15 App Router.

Basic app starters

These starters don't have a lot of functionality, they are single page, single component sort of "hello world" starters typically used to learn the essentials of Uniform SDK and be used as a starting point for the greenfield projects. Preview, personalization and A/B testing is enabled on all of these starters.

  • Hello world starter for Next.js 15 App Router - essential 1 page, 1 component starter. The starter is available to be installed via npx @uniformdev/cli@latest new.

    Recommended for learning of Uniform SDK essentials or as a baseline for new projects using Next.js 15 app router if you have existing components / design system and don't want to use Component Starter Kit.

  • Hello world starter for Next.js Page Router - essential 1 page, 1 component starter.

  • React Vite SSR starter - basic React Vite starter with Uniform SDK pre-configured using server-side rendering.

  • Create React App Starter (CSR) - basic Create React App starter with Uniform SDK pre-configured using client-side rendering.

  • Nuxt hello world starter - essential 1 page, 1 component starter, recommended baseline for new projects using Nuxt 3. The starter is available to be installed via npx @uniformdev/cli@latest new.

  • Gatsby 5 starter - a simple marketing site showing the essentials of Uniform + Gatsby.js integration, including personalization and A/B testing!

  • Remix starter - essential 1 page, 1 component starter for Remix configured with Cloudlare, recommended as reference for new projects using Uniform Remix SDK.

Mesh examples

These starters are created to accelerate your learning and development of a new extension to Uniform:

  • Generic new integration starter is provided to streamline your first mesh integration development experience. See the docs here for info on how to extend Uniform Mesh.
  • 🆕 New CMS integration starter implements an essential external CMS integration using a mocked CMS API. If you are building a content integration (for CMS or any content repository), this is a great starting point.
  • Custom parameters/fields example shows how to extend the standard set of parameter or field types. This may not be a full-fledge integration but if you need a custom UX on top of a parameter or a field, it's a great starting point with plenty of examples.
  • 🆕 Editor tools example shows how to extend Canvas editor's siderail with custom functionality using an example of a composition copy functionality.

Feature starters

These starters focus on specific Uniform feature and capabilities:

Starters pre-wired with search integrations

Starters pre-wired with specific integrations

Context examples

These starters are enabled with edge-side personalization SDK using only Uniform Context, without visual experience capability (Canvas):

  1. Next.js app router
  2. For Akamai using Edge Workers
  3. For Cloudflare using Workers
  4. For Netlify using Edge Functions
  5. For Vercel using Edge Middleware

Other starters and examples

There are more useful starters and examples in other repos:

  • Next.js Marketing Starter - imaginary conference site in Next.js leveraging all the Uniform goodness: Canvas and Context.
  • Nuxt Marketing Starter - imaginary conference site in Nuxt 3 leveraging all the Uniform goodness: Canvas and Context.

About

Uniform starters and examples with different front-end frameworks and CDNs

Resources

Stars

Watchers

Forks