Name: auth0-react-sketchapp
Owner: Auth0
Description: Render styleguide styles from React components ??
Created: 2017-04-26 06:06:16.0
Updated: 2017-06-30 14:48:59.0
Pushed: 2017-07-06 14:34:59.0
Size: 2660
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This project is currently in beta and APIs are subject to change.
First, make sure you have installed Sketch version 43+, & a recent npm.
Open a new Sketch file, then in a terminal:
clone https://github.com/auth0/auth0-react-sketchapp
uth0-react-sketchapp/examples/styleguide && npm install
run render
Next, check out some more examples!
Managing the assets of design systems in Sketch is complex, error-prone and time consuming. Sketch is scriptable, but the API often changes. React provides the perfect wrapper to build reusable documents in a way already familiar to JavaScript developers.
rt { render, Text, Artboard } from 'react-sketchapp';
t App = props => (
rtboard>
<Text style={{ fontFamily: 'Comic Sans MS', color: 'hotPink' }}>
{ props.message }
</Text>
Artboard>
rt default (context) => {
nder(<App message="Hello world!" />, context);
react-sketchapp
was built for Airbnb?s design system; this is the easiest way to manage Sketch assets in a large design systemreact-sketchapp
makes it simple to fetch and incorporate real data into your Sketch filesFound a novel use? We'd love to hear about it!
Read more about why we built it