• Stars
    star
    600
  • Rank 74,640 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Sketch plugin to generate prototype web pages.

Blade

Version Join the chat at https://gitter.im/Sketch-Plugin-Blade/Lobby

Blade is a sketch plugin designed to generate prototype web pages. Add simple annotation to your sketch layers and blade will get the magic done. Click image below to see demo video.

Blade New Demo

Installation

  • Copy blade.sketchplugin in dist folder to sketch plugin folder.
  • Create a artboard to group your layers.
  • Run Blade -> Export Current Artboard on plugin menu.

You can check the example file and its output in the example folder.

Annotation Usage

Blade use layer name annotation to convert layer to certain html component.

A

Add link to any kind of layer.

[A?url=http://www.github.com/sskyy/blade]xxx

Case

Switch between different versions of any layer. Press Command key to see selectors.

[Case]
  [#caseName=red]xxx
  [#caseName=blue]xxx

Group

Default type of group layer. Can be centered to its container.

[Group?center=true]

Ignore

Layer will not show in output.

Img

Export any kind of layer as a Image.

Roadmap

Components

  • Group( as default)
  • A
  • Button
  • Case
  • Ignore
  • Img
  • Input
  • Text
  • Textarea

Script support

Support basic javascript