• Stars
    star
    347
  • Rank 122,141 (Top 3 %)
  • Language
    HTML
  • License
    BSD 3-Clause "New...
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Rapid prototyping environment using the Salesforce Lightning Design System

Lightning Design System Starter Kit Circle CI

Starter Kit by Salesforce UX

Rapid prototyping environment using the Salesforce Lightning Design System, HTML, and Sass.

Who is this for?

From the prototyper to the large application developer… the Design System Starter Kit is a helpful tool to get started and run prototypes of all sizes in the browser.

Designers

The starter kit is built using web standards, more specifically HTML and CSS. Copy and pasting markup from https://www.lightningdesignsystem.com/ is quick and easy. No need to be a front-end guru to start designing in the browser!

Salesforce Developers

Setting a whole demo org for a quick prototype can take time and effort, whereas cloning the starter kit and putting a few components together only takes a few minutes. Deploying your prototype to Heroku for free – in only 2 clicks – is also lightning fast!

Set-up (private) 🔒

If you plan to have internal-facing work in your starter kit app that you don't want public, using a private repository is recommended. One method to achieve that is to import this Starter Kit repository into a new private one (details):

  1. Open https://github.com/new/import
  2. In the Your old repository's clone URL field, enter: https://github.com/salesforce-ux/design-system-starter-kit
  3. In the Your new repository details field, enter a unique name for your new starter kit repository.
  4. Under Privacy, be sure to select the Private option :)
  5. Click Begin Import
  6. Once your new repository is created, move onto Quick Start

Set-up (public)

  1. Fork this repository or download it onto your computer

Quick Start

Pre-requisites: Node.js 12 or higher.

  1. Clone your new repository onto your computer if you've imported or forked.
  2. In a terminal, cd into the directory where you cloned or downloaded your Starter Kit repository.
  3. Run npm install
  4. Run npm run dev (or gulp)
  5. Open http://localhost:3000

That’s it! You can start by editing the src/views/index.html file and build awesome prototypes.

Tip: copy markup from the Lightning Design System Components and paste it into the HTML files of the starter kit.

Deploy to Heroku

Deploy your own prototype for free to Heroku in only 2 clicks.

Deploy

Your work is confidential? Fill in a username and password in the Heroku settings.

What’s inside?

FAQ

Which browsers does the Starter Kit support?

When it comes to the CSS, the Starter Kit has the same support level as the Lightning Design System itself. See the list of supported browsers.

For JavaScript, at the moment only a few very recent browsers are supported (Chrome & Firefox recommended).

Is there a showcase of prototypes using the Starter Kit?

Not yet, but we’d love to know about your creations! Feel free to get in touch in the issues of the project. In the mean time, you can check out the example prototype.

How do I update to use the latest version of the Salesforce Lightning Design System?

If you've had this project installed for a while, the SLDS version will stay the same as the version that was current when you cloned the project. To update to the latest public release of SLDS, in Terminal, run:

npm update @salesforce-ux/design-system

How would I update my fork if Salesforce updates the Starter Kit?

To sync your fork, browse to: {{your GitHub and repository URL}}/compare/master...salesforce-ux:master

On that page, click Create pull request and proceed to merge the pull request if all looks good.

Then, in Terminal, from your fork's project folder, run:

git checkout master
git pull origin master

Or, in GitHub Desktop, click Fetch origin and then Pull origin.

See Also

The Design System UI Kit is a great way for designers to put beautiful static prototypes together.

Using React? Check out the react branch (beta)!

More Repositories

1

design-system

Salesforce Lightning Design System
JavaScript
3,503
star
2

theo

Theo is a an abstraction for transforming and formatting Design Tokens
JavaScript
1,932
star
3

design-system-ui-kit

Lightning Design System UI Kit
377
star
4

sass-deprecate

Let Sass warn you about the pieces of your UI that are deprecated, providing a clear upgrade path for developers
JavaScript
270
star
5

scss-parser

A library to parse/stringify SCSS
JavaScript
110
star
6

blender

DEPRECATED: this project isn't maintained anymore.
JavaScript
71
star
7

design-system-ios

Salesforce Lightning Design Tokens for iOS
Swift
66
star
8

query-ast

A library to traverse/modify an AST
JavaScript
63
star
9

dnd-a11y-patterns

Examples of accessible drag-and-drop patterns
JavaScript
49
star
10

design-system-ui-kit-data

A collection of fictitious Salesforce data for use as Sketch custom data. Use this info to populate designs created from the Lightning Design System UI Kit.
47
star
11

theo-example

Example project for integrating Design Properties using Theo
JavaScript
29
star
12

design-system-android

Java
24
star
13

gulp-theo

Gulp-theo is a plugin that transforms and formats Design Tokens
JavaScript
18
star
14

portion-control

Badge to quickly communicate project values
JavaScript
11
star
15

instant-vrt

Module for running vrt
JavaScript
8
star
16

design-system-ui-kit-framerx

Public code. Not supported by Salesforce
TypeScript
7
star
17

design-system-bower

7
star
18

design-tokens

DEPRECATED repository - Salesforce Design Tokens
JavaScript
6
star
19

gdm

Git Dependency Manager
JavaScript
6
star
20

design-system-parser

JavaScript
5
star
21

design-system-markup

JavaScript
5
star
22

design-system-sketch

A plugin for interacting with the Lightning Design System in Sketch
4
star
23

lightning-design-system-linter

Lightning Design System design validation directly in Sketch
TypeScript
4
star
24

stylelint-config-slds

Lightning Design System shareable config for stylelint
JavaScript
3
star
25

design-system-windows

C#
2
star
26

heroku-buildpack-nginx

Shell
2
star
27

df19-talk-design-data-science

Dreamforce 19 talk: Improving Design with Data Science files
Jupyter Notebook
1
star
28

test-drive-brown-bag

tdd fun for all
JavaScript
1
star
29

design-system-compiler

Sass Compiler for the design system
JavaScript
1
star
30

scss-inline-imports

A library to inline SCSS @import statements
JavaScript
1
star