Skip to content

react-figma/PrimerDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Primer Demo

A multiplatform React-based design system inspired by GitHub Primer.

Demo

Web

Website

Demo GIF

Figma

Dulplicate Community File Demo Figma document

Demo GIF

Native

Demo 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

About

πŸ“± A multiplatform React-based design system (demo)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published