All Projects → zjuasmn → Sketch React

zjuasmn / Sketch React

Licence: mit
render sketch(v43+) file as react component

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Sketch React

Sketch Make Long Shadow
A plugin for Sketch to create long shadows of a user defined length from a shape.
Stars: ✭ 92 (-6.12%)
Mutual labels:  shape, sketch
Shapes
📐 Net standard geometry/shape manipulation library, can be used to merge / split shapes
Stars: ✭ 95 (-3.06%)
Mutual labels:  shape
Suitcase
A flexible command line tool for instantly deploying user interfaces for simple commands and scripts.
Stars: ✭ 1,287 (+1213.27%)
Mutual labels:  developer-tools
Hoarder
A simple, api-driven storage system for storing code builds and cached libraries for cloud-based deployment services.
Stars: ✭ 91 (-7.14%)
Mutual labels:  developer-tools
Eldev
Elisp Development Tool
Stars: ✭ 89 (-9.18%)
Mutual labels:  developer-tools
Tutorialdb
A search 🔎 engine for programming/dev tutorials, See it in action 👉
Stars: ✭ 93 (-5.1%)
Mutual labels:  developer-tools
Hsl color picker
HSL Color Picker for Sketch (no longer maintenance).
Stars: ✭ 88 (-10.2%)
Mutual labels:  sketch
Html Sketchapp Style Guide
Brainly style guide ➡ Sketch
Stars: ✭ 97 (-1.02%)
Mutual labels:  sketch
Unused Style Remover
Remove unused layer and text styles.
Stars: ✭ 94 (-4.08%)
Mutual labels:  sketch
Design Ui Kit
Official UI components and templates for the Italia design system
Stars: ✭ 91 (-7.14%)
Mutual labels:  sketch
Calismamasam.com
Teknolojiyle iç içe olan profesyonellerin çalışma ortamları burada! - https://calismamasam.com
Stars: ✭ 91 (-7.14%)
Mutual labels:  developer-tools
Run
⚡The resource runtime
Stars: ✭ 90 (-8.16%)
Mutual labels:  developer-tools
Doc Browser
A documentation browser with support for DevDocs, Dash and Hoogle, written in Haskell and QML
Stars: ✭ 93 (-5.1%)
Mutual labels:  developer-tools
Copilot Cli
The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on Amazon ECS and AWS Fargate.
Stars: ✭ 1,285 (+1211.22%)
Mutual labels:  developer-tools
Hmake
HyperMake - Makes Builds Green without Worrying about Pre-requisites
Stars: ✭ 95 (-3.06%)
Mutual labels:  developer-tools
Paster
Pasting a text data from a clipboard directlly to Sketch text layers [Sketch plugin]
Stars: ✭ 88 (-10.2%)
Mutual labels:  sketch
Httptoolkit Ui
The UI of HTTP Toolkit
Stars: ✭ 91 (-7.14%)
Mutual labels:  developer-tools
React Native Sketch View
A React Native component for touch based drawing supporting iOS and Android.
Stars: ✭ 97 (-1.02%)
Mutual labels:  sketch
Reviewboard
An extensible and friendly code review tool for projects and companies of all sizes.
Stars: ✭ 1,334 (+1261.22%)
Mutual labels:  developer-tools
Django Redis Metrics
Metrics for django apps backed by Redis.
Stars: ✭ 93 (-5.1%)
Mutual labels:  developer-tools

sketch-react

https://zjuasmn.github.io/sketch-react

Project is still in beta, help and advise are welcome.

The goal of this project is trying to reduce the gap between UI design and front-end development (for now, just html). A lot of time of front-end development is spent in matching the given UI design instead of implementing application logic. There are collaboration tools like Zeplin to help marking the design, but programmer still needs to measure and copy css for each element assemble them and copy icons and other assets one by one.

Here, we take a step further by generate html from .sketch file(v43+). So you can copy a group of element as html code and paste it in online or local text editor. Just a copy and paste from design to working code. Enjoy it.

Roadmap

  • export to React code
  • autoprefix css
  • reduce export code size
    • svg code optimization
    • class style generate from symbol, share style
  • optimize position css
    • detect row or column pattern of elements
    • detect padding
    • detect corner element
  • minor edit
    • visible & lock
    • ...

Limitation

Due to the limitation of html, it cannot be 100% math the original design, like background blur, multiple borders, multiple fills, masking, image color adjust and so on.

General

Feature Support Related CSS Attributes
Position Support top, left
Size Support width, height
rotation, flip Support transform
Opacity Support opacity
Blending Support mix-blend-mode
Lock No
Hide Support display:none

Text(rendered as <span/>)

Feature Support Related CSS Attributes
Typeface Limit(no fallback) font-family
Weight Support font-weight
Color Limit(only solid color) color
Size Support font-size
Alignment Support text-align
Width Limit (Auto)width:auto(Fixed)width:?px
Spacing-Character No letter-spacing
Spacing-Line Limit line-height
Spacing-Paragraph No
Fills No
Borders No
Shadows No
Blur No

Symbol

Feature Support Related CSS Attributes
Size Limit(only support same size as symbol master)
Overrides no

Image (render as <img/>)

Feature Support Related CSS Attributes
Color Adjust no

Group(<div/>)

Feature Support Related CSS Attributes
mask limit(only when the mask is the most bottom layer and it is simple shape and all sibling layer don't ignore the mask) overflow:hidden

Shape

Simple Shape(<div/>)

A shape is considered as simple when it is a rectangle or Oval with its points unedited.

Complex Shape(<svg/>)

complex shape needed to be flatten before render.

Feature Support Related CSS Attributes
fill limit(only one fill with solid color) fill
borders limit(only one border with solid color) stroke,stroke-width
shadows & innerShadows no
blur no
bool operation no
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].