An open API service indexing awesome lists of open source software.

https://github.com/react-figma/primerdemo

📱 A multiplatform React-based design system (demo)
https://github.com/react-figma/primerdemo

Last synced: 11 months ago
JSON representation

📱 A multiplatform React-based design system (demo)

Awesome Lists containing this project

README

          

# Primer Demo

A multiplatform React-based design system inspired by GitHub [Primer](https://primer.style/).

## Demo

#### Web

[Website](https://primerdemo.now.sh/)

Demo GIF

![](https://media.giphy.com/media/Q8Ugil3y01nvhQrtIV/giphy.gif)

#### Figma

Dulplicate [Community File](https://www.figma.com/community/file/905801857371996928)
[Demo Figma document](https://www.figma.com/file/WCoBWoLG9UQSb9bC9ZLhRl/Untitled)

Demo GIF

![](https://media.giphy.com/media/f9GcgN8tBdvnIPAZYB/giphy.gif)

#### Native

Demo GIF

![](https://media.giphy.com/media/ib9Nq5zfQzW1oTeWmz/giphy.gif)

## Running

* Web (Storybook React): `yarn storybook:web`
* iOS simulator (Storybook React Native): `yarn storybook:ios`
* Figma plugin (React Figma): `yarn figma:webpack:watch`

## Structure

```
├── .storybook - @storybook/react configuration
├── .storybook-native - @storybook/react-native configuration
├── android - gradle project for React Native app
├── assets - React Native app assets
├── ios - iOS project for React Native app
├── src
│ ├── components
| ├── fonts - fonts for web
| ├── frames - frames for displaying through React Figma
| ├── helpers - frames for displaying through React Figma
| ├── hooks - React Hooks
| ├── styles - global styles for web
| ├── tokens - design system tokens (colors, spacing, etc.)
| ├── wrappers - universal wrappers for base UI elements (buttons, images, etc.)
│ ├── App.tsx - React Figma app
│ ├── code.tsx - entty point for Figma plugin Main-thead
│ ├── ui.html - entty point for Figma plugin UI-thead
│ └── ui.tsx
├── app.json - react-native config file
├── babel.config.js - babel config for react-native
├── figma.d.ts - figma plugin typings
├── figma.webpack.confgi.js - Webpack config for react-figma
├── manifest.json - Figma plugin manifest
├── metro.config.js - config for Metro bundler
├── now.json - config for Zeit Now
├── package.json
├── tsconfig.json
└── yarn.lock
```