React-sketchapp: SVG primitives

Created on 25 Apr 2017  Â·  2Comments  Â·  Source: airbnb/react-sketchapp

SVGs are the most sane way of expressing shape-like constructs in a react paradigm — c.f. https://github.com/chengyin/react-primitives-svg

Components: https://github.com/airbnb/react-sketchapp/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20SVG%20Primitives

SVG components we need

  • [ ] Circle
  • [ ] Ellipse
  • [ ] G
  • [ ] Linear Gradient
  • [ ] Radial Gradient
  • [ ] Line
  • [ ] Path
  • [ ] Polygon
  • [ ] Polyline
  • [ ] Rect
  • [ ] Symbol
  • [ ] Text
  • [ ] Use
  • [ ] Defs
  • [ ] Stop

Most helpful comment

Are there any workarounds available for rendering svgs or even providing a placeholder symbol that could be populated with an existing svg that's already been imported into sketch?

More specifically, I'm hoping to use existing svgs without needing to rewrite them as react-svgs or something similar.

All 2 comments

Are there any workarounds available for rendering svgs or even providing a placeholder symbol that could be populated with an existing svg that's already been imported into sketch?

More specifically, I'm hoping to use existing svgs without needing to rewrite them as react-svgs or something similar.

Have a look at this Font icon workaround @168

Was this page helpful?
0 / 5 - 0 ratings

Related issues

netsi1964 picture netsi1964  Â·  3Comments

ManuSevenval picture ManuSevenval  Â·  4Comments

sherry255 picture sherry255  Â·  3Comments

davixyz picture davixyz  Â·  5Comments

vjpr picture vjpr  Â·  7Comments