A sketch plugin that exports designs as html, making it easy to quickly share design specs, css, and assets like fonts, svgs, and images.
Select an artboard in your sketch file.
Run plugin to compose export.
Left panel shows layers. Right panel shows CSS and notes.
Hover over layer on the artboard or layers panel to see dimensions.
Click layer on the artboard or layers panel to select it. While selected, you can view CSS, notes, inspect assets, and hover over other layers to see relative spacing.
Double click groups to view group layers.
Navigate nested groups by clicking back, or double clicking a group in the layers panel.
Add layer notes.
Layer note count is displayed in a circle. Nested layer note count is displayed in a square.
Copy CSS to clipboard.
Export spec
Export folder structure. Includes images (1x and 2x), svgs, and fonts used in spec.
Open spec.html
in your preferred browser to view spec.
Dark theme
Light theme
Prefix groups with [next.svg]
to make them an svg export (prefix will be removed from the layer name in the final spec).
Rule and dimension color is the inverse of the average artboard color.
- Max canvas size:
20,000px
by20,000px
- Hidden layers are not included in spec.
- Gradients are converted to images.
- Supports most masks.
- Shapes and complex ShapePaths are converted to svgs.
- Layer
Borders
,Shadows
, andInner-Shadows
are combined and converted to a single cssbox-shadow
.
- Zoom in:
control
option
command
+
- Zoom out:
control
option
command
-
- Re-center canvas:
control
option
command
enter
- Supports trackpad pinch zoom and mouse wheel zoom (Semi-broken on chrome. Disable native chrome pinch zoom for best results).
- Sketch: v.61.2
- Browser: Safari, Firefox, or Chrome.
- Download the latest release of the plugin
- Un-zip
- Double-click on next.sketchplugin
If your design includes a complex mask (i.e. the mask shape is not an oval or rectangle), the mask and its contents will not be visible when viewing the spec on Firefox. This is due to Firefox's privacy settings. The bug only occurs when loading assets from local storage, so the CSS will still work in production. Until the bug is fixed, you should view your spec in Chrome or Safari if it includes a complex mask.