All Projects → marshmallow-insurance → smores-react

marshmallow-insurance / smores-react

Licence: MIT license
🍭 Marshmallow React components

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to smores-react

Orbit
React components of open-source Orbit design system by Kiwi.com
Stars: ✭ 774 (+2176.47%)
Mutual labels:  styled-components, component-library, design-system
Stardust
🎨Tiller Design System
Stars: ✭ 19 (-44.12%)
Mutual labels:  react-components, storybook, design-system
React95
A React components library with Win95 UI
Stars: ✭ 1,779 (+5132.35%)
Mutual labels:  styled-components, storybook, design-system
Styleguide
The VTEX Design System and React component library.
Stars: ✭ 138 (+305.88%)
Mutual labels:  react-components, component-library, design-system
rebass
⚛️ React primitive UI components built with styled-system.
Stars: ✭ 7,844 (+22970.59%)
Mutual labels:  styled-components, react-components, design-system
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+61.76%)
Mutual labels:  styled-components, storybook, component-library
Govuk React
An implementation of the GOV.UK Design System in React using CSSinJS
Stars: ✭ 219 (+544.12%)
Mutual labels:  styled-components, storybook, component-library
Circuit Ui
SumUp's component library for the web
Stars: ✭ 625 (+1738.24%)
Mutual labels:  react-components, component-library, design-system
react-uswds
USWDS 3.0 components built in React
Stars: ✭ 108 (+217.65%)
Mutual labels:  storybook, component-library, design-system
shared-react-components-example
An example of a mono-repository of shared React components libraries!
Stars: ✭ 85 (+150%)
Mutual labels:  react-components, storybook, design-system
Matchbox
🔥 A react UI component library
Stars: ✭ 58 (+70.59%)
Mutual labels:  react-components, storybook, design-system
lerna-starter
Simple React UI Development environment boilerplate to develop, test and publish your React components.
Stars: ✭ 55 (+61.76%)
Mutual labels:  react-components, storybook, component-library
Axiom React
Axiom - Brandwatch design system and React pattern library
Stars: ✭ 41 (+20.59%)
Mutual labels:  react-components, component-library, design-system
React95
🌈🕹 Refreshed Windows 95 style UI components for your React app
Stars: ✭ 4,877 (+14244.12%)
Mutual labels:  styled-components, component-library, design-system
Pivotal Ui
Pivotal's design system & component library
Stars: ✭ 637 (+1773.53%)
Mutual labels:  react-components, component-library, design-system
Styled Bootstrap Components
The bootstrap components made with styled-components 💅
Stars: ✭ 196 (+476.47%)
Mutual labels:  styled-components, react-components, design-system
Operational Ui
Building blocks for effective operational interfaces
Stars: ✭ 258 (+658.82%)
Mutual labels:  react-components, component-library, design-system
Hiui
HIUI is a solution that is adequate for the fomulation and implementation of interaction and UI design standard for front, middle and backend.
Stars: ✭ 366 (+976.47%)
Mutual labels:  react-components, component-library, design-system
paragon
💎 An accessible, theme-ready design system built for learning applications and Open edX.
Stars: ✭ 85 (+150%)
Mutual labels:  react-components, component-library, design-system
orfium-ictinus
This repo will include the building blocks to create the Orfium Parthenons to come ...
Stars: ✭ 20 (-41.18%)
Mutual labels:  react-components, storybook, design-system

npm-version-badge licence-badge travis-build-badge dependencies-badge snyk-badge codacy-badge prettier-badge

Smores React

smores-react is a collection of React components that conform to Marshmallow's Design System - "S'mores".

Install

$ yarn add @mrshmllw/smores-react
# OR
$ npm install @mrshmllw/smores-react

Release

Before starting, make sure that CHANGELOG.md is updated according to keepachangelog.com with the latest release notes. If not, make a PR updating it before continuing.

  1. Checkout a new branch from the Master branch, update Changelog and bump the project version.
git checkout master
git pull
git checkout -b [branch_name]
  1. Bump the version according to semver.org and create a PR
npm version [major | minor | patch] 
  1. When merged, go the the master branch, pull and push the new tag to origin
git checkout master
git pull
git push origin --tags

Wait for the build to be successful (green tick in GitHub Actions workflow) before next step

  1. Login and publish to NPM
npm login
> enter your username and password
> enter your email address
> complete two factor authentication
npm publish

Running Smores in dev mode

To run Smores in dev mode follow the below instructions on installing and using Yalc to link up your project repo with Smores.

Install yalc on a global level by running

npm i yalc -g

This only needs to be installed once.

To run Smores in dev mode :

  1. Make desired changes in Smores repo
  2. On your Smores branch run
yalc publish

This will copy all the files that should be published into a remote NPM registry

In your project repo (not Smores e.g customer portal/sign up flow etc) run

yalc add @mrshmllw/smores-react

this will copy the current version from the store to your project’s .yalc folder and inject a file: .yalc/@mrshmllw/smores-react dependency into package.json

Every time you make changes in Smores and you wan’t to see it in local

run

yalc publish —private

In your project folder to see your Smores changes run the below to see the changes

yalc update

When you’ve finished deving run the below in your project folder to remove all packages linked

yalc remove --all

List of Components

Usage

import React from 'react';
import {Text, Button} from '@mrshmllw/smores-react';

const App = () => (
  <>
    <Text>Hey you</Text>
    <Button
      color="green"
      onClick={() => console.log('thanks for clicking :)')}
    >
      Click me!
    </Button>
  </>
);

License

MIT © Marshmallow

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].