sketch-svg-to-react-component

0.4.1 • Public • Published

sketch-svg-to-react-component

The sketch plugin which can transform svg to react or react native svg component.

Usage

  • Copy sketch selected layers as React Component: cmd + option + r
  • Copy sketch selected layers as RN Component: cmd + option + n
  • Export multiple svg as React Component

Upcoming soon:

  • Export multiple svg as RN Component
  • Simplify svg

Todo:

  • format copied string by prettier
  • reduce packages size by using like sketch/dom sketch/UI
  • remove specific characters in filename like @2x, otherwise will cause error
  • export simplify svgs
  • add outline for svg
  • export react components with customized template

Readme

Keywords

none

Package Sidebar

Install

npm i sketch-svg-to-react-component

Weekly Downloads

1

Version

0.4.1

License

MIT

Unpacked Size

10.1 kB

Total Files

12

Last publish

Collaborators

  • ruili