@shiftcommerce/shift-react-components

This repository contains a library of React components that are built to be integrated with the data that the SHIFT Platform produces. They should be ready to go out of the box and integrated into any React site that is utilising shift-node-api. These have been extracted to allow clients to use some of our pre-built components/objects in other projects if needed. If needed you can overwrite the styles but these have been made with the intention to be used out-of-the-box.

Usage no npm install needed!

<script type="module">
  import shiftcommerceShiftReactComponents from 'https://cdn.skypack.dev/@shiftcommerce/shift-react-components';
</script>

README

js-standard-style

Shift React Components

Purpose

This repository contains a library of React components that are built to be integrated with the data that the SHIFT Platform produces. They should be ready to go out of the box and integrated into any React site that is utilising shift-node-api. These have been extracted to allow clients to use some of our pre-built components/objects in other projects if needed. If needed you can overwrite the styles but these have been made with the intention to be used out-of-the-box.

Getting started

To run the application locally you can carry out the instructions below.

Install:

yarn add @shiftcommerce/shift-react-components
npm i @shiftcommerce/shift-react-components

Use within your project:

e.g:

import { Button } from '@shiftcommerce/shift-react-components

...

Style Guide

Shift Style Guide