Coder Social home page Coder Social logo

shopify / foundational-design-system-proto Goto Github PK

View Code? Open in Web Editor NEW
114.0 240.0 5.0 1.59 MB

A prototype for a foundational design system at Shopify

License: MIT License

TypeScript 92.39% CSS 5.81% HTML 0.59% JavaScript 1.22%
design-systems shopify-polaris components tokens icons documentation

foundational-design-system-proto's Introduction

Shopify Design Foundations

About this repo | Projects | How to use this repo | Technical details | Contribute to our explorations | Resources


About this repo

The experience platform for Shopify. This repository is focused on centralizing foundational design system resources.

Current status Owner Help
paused @polaris-team #polaris

Projects

A public version of our Github Project will be coming soon!

Development

Make sure Git and Node.js are installed on your computer, then run the following commands in your terminal to get started:

$ git clone https://github.com/Shopify/foundational-design-system-proto.git    # git clone repository
$ cd foundational-design-system-proto                                          # access the files
$ npm install                                                                  # install dependencies
$ npm run dev                                                                  # run locally

Technical details

As we continue to iterate and evolve, these technologies are subject to change. Currently, the foundations are built using the following technologies as part of our React TypeScript stack:

For questions about our tech stack, go to #polaris

Contribute to our explorations

We'd love to hear what you think. Start a conversation in Github Discussions!


Resources

Documentation

NPM packages

@shopify/layout-experimental

An NPM package of experimental React components for layout, including abstractions for flexbox and grid, built with Vanilla Extract and Sprinkles.

Install locally
  1. Add the dependency:

NPM

npm install @shopify/layout-experimental

Yarn

yarn add @shopify/layout-experimental
  1. Import the foundation styles at the base of your app:
import '@shopify/layout-experimental/dist/style.css';
  1. Read the component API documentation
Explore the sandbox

We have created a sandbox utilizing the experimental release of our foundational layout components: Box, Grid, Flex, and more. Check it out to see examples of how the components can be used and try them out yourself!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.