Instructions for importing and exporting files in Sketch

Sketch graphics software provides a very convenient way of importing / exporting files. Do you know how to do it? Let's learn how to import & export files in Sketch.

Import the file into Sketch

The easiest way to import files into Sketch graphic software is to drag and drop them into canvas or dock icons. You can enter:

  • Photos of PNG, JPG, TIFF and WebP bitmaps
  • SVG and EPS files
  • SVG Code (copy & paste code to create new layer)
  • AI and PSD files (limited support, only as a flat layer)

Export file in Sketch

The fastest way to export your work from Sketch is to choose Share> Export ... in the menu or press + + Eto open the Export dialog box . Select the data you want to export, then click Export to open MacOS Save.

Sketch exports everything as PNG in real size (default 1x). To change these settings or export from 2 sizes or formats, you need to set the Export Presets in Inspector.

You can also select any layer in the Layer List and drag it to the desktop to export as PNG (or hold while dragging to export as PDF). Alternatively, you can select a class, then press + E.

Finally, you can export a PDF document with all its Artboards by selecting File> Export Artboards to PDF …. You can choose the order of Artboards exports via Preferences.

How to create and use settings before exporting

To export a layer in a document in different sizes or formats, select that layer> click the Make Exportable panel at the bottom of the Inspector. You will see the pre-export settings here with a few options:

Instructions for importing and exporting files in Sketch
  • Size : Choose a size from the drop-down menu or create your own by typing the number directly in the Size field. Feel free to increase (2x, 3x ...) or decrease (0.5x, 0.25x) the ratio or determine the specific height / width in pixels.
  • Prefix / Suffix:  If you publish your work at different rates, you need to use the drop-down menu to select a prefix or suffix. You can customize them by typing in the text field before (prefix) or after (suffix) the ellipsis represents the file name.
  • Format : Choose a format from the dropdown menu.
  • Remove presets : Click Xto delete this export preset.
  • Add presets : Click +to add other presets for this layer to the export settings.
  • Preset Sets : Click the Preset button to select a set of presets. You can also create new Preset sets and remove them here.
  • Create a layer : Click the knife icon to create a thin layer on the selected layer with predefined settings.
  • Export Selected ... : Click this button to export the layer using the above settings.
  • Preview : The preview window shows you how the layer will look when exported. You can also drag & drop it directly onto another desktop or app for quick export.
  • Sharing : Another quick export option is to click the Sharing button for standard options to share via Mail, Messages, AirDrop ...

How to use Slice

Slice is a type of layer you can draw on a canvas that can export everything inside it as an image. You can select, resize, move, hide or group them together like other layers.

How to insert a slice?

Choose Insert> Slice or click S, then, click & drag anywhere on the canvas to draw a new slice. Alternatively, click on any layer to create a slice around it.

Tip: When creating a slice, give its descriptive name in the Layer List. Sketch will use it as the file name when exporting. If you include the / in the name, Sketch will use whatever is written before it as the folder name, everything behind is the file name in that folder.

Like other layers, you can set multiple output settings as slices.

Customizing slices

Slice has a few special options located at the Inspector. The Trim Transparent Pixels checkbox will delete any empty pixels in the slice around the edges of the content.

If you place a slice in the group, the Export Group Contents Only check box makes sure that any slice export only covers the contents of that slice group.

Check Background Color and select the background color for the slice.

How to export CSS and SVG code

Select from a layer that becomes in the document, Ctrl+ click and select Copy CSS Attributes to copy any style information of them as CSS code to the clipboard. For example, this is the CSS of a simple shape:

/ * Rectangle: * /
background: # 6DD400;
border-radius: 5px;

Copying the SVG code is similar. Select a shape layer, Ctrl + click on it, then choose Copy SVG Code .

Sketch file export format supported

  • Bitmap: PNG, JPG, TIFF, WebP
  • Vector: SVG, PDF, EPS

How to print Artboard or Slice

Choose File> Print> Click Artboard or Slice you want to print.

Above is a basic guide on how to import / export files in Sketch . Hope the article is helpful to you.

Leave a Comment

How to Check Microsoft Teams Version History and Build Number

How to Check Microsoft Teams Version History and Build Number

Discover simple steps to check your Microsoft Teams version history and build number on desktop, web, and mobile. Stay updated with the latest features and fixes effortlessly. Perfect for IT pros and everyday users.

How to Fix Microsoft Teams Uninstall Error Stuck

How to Fix Microsoft Teams Uninstall Error Stuck

Tired of Microsoft Teams "Uninstall Error" Stuck? Discover proven, step-by-step fixes to completely remove Teams from your PC. Works on latest Windows versions – no tech skills needed!

Troubleshooting Microsoft Teams Where is My Team? Error

Troubleshooting Microsoft Teams Where is My Team? Error

Facing the frustrating Microsoft Teams "Where is My Team?" error? Discover step-by-step troubleshooting tips, common causes, and quick fixes to resolve it instantly and resume seamless collaboration. Updated with the latest solutions.

How to Fix Microsoft Teams VDI Error on Virtual Machines

How to Fix Microsoft Teams VDI Error on Virtual Machines

Tired of Microsoft Teams VDI errors crashing your virtual machine calls? Get step-by-step fixes for audio glitches, video freezes, and optimization issues on Citrix, VMware, or RDP setups. Boost productivity now!

How to Fix Microsoft Teams Error AADSTS70011

How to Fix Microsoft Teams Error AADSTS70011

Struggling with Microsoft Teams Error AADSTS70011? Discover step-by-step fixes for invalid scope errors, clear cache tips, and quick authentication resets to get back to seamless collaboration in minutes. Updated with latest Teams patches.

Troubleshooting Microsoft Teams Unknown Error: Something Went Wrong

Troubleshooting Microsoft Teams Unknown Error: Something Went Wrong

Stuck with Microsoft Teams unknown error "Something Went Wrong"? Discover quick, effective troubleshooting steps to resolve it instantly. Updated with the latest fixes for seamless collaboration.

Troubleshooting Microsoft Teams Download for PC Not Working

Troubleshooting Microsoft Teams Download for PC Not Working

Is Microsoft Teams download not working on your PC? Discover proven fixes for installation errors, slow downloads, and crashes. Get Teams running smoothly in minutes with our step-by-step guide.

Solving Microsoft Teams Wiki Tab Missing Error

Solving Microsoft Teams Wiki Tab Missing Error

Tired of the frustrating Microsoft Teams Wiki Tab Missing error? Follow our proven, step-by-step guide to restore your Wiki tab instantly and boost team collaboration without hassle.

How to Fix Microsoft Teams Chat Message Failed to Send

How to Fix Microsoft Teams Chat Message Failed to Send

Tired of Microsoft Teams chat messages failing to send? Follow our expert, step-by-step guide to fix the "Failed to Send" error quickly and get back to productive chats without frustration. Proven solutions for all users.

Solving Microsoft Teams How Update Error 2026

Solving Microsoft Teams How Update Error 2026

Tired of Microsoft Teams "How Update" Error 2026 blocking your updates? Follow our proven, step-by-step solutions to resolve it fast and restore smooth teamwork. Works for latest Teams versions!

How to Use Microsoft Teams for Business: A Complete Guide

How to Use Microsoft Teams for Business: A Complete Guide

Discover how to use Microsoft Teams for business with this complete guide. Learn setup, meetings, collaboration, and pro tips to supercharge your workflow and team efficiency.

How to Record a Microsoft Teams Meeting: Step-by-Step

How to Record a Microsoft Teams Meeting: Step-by-Step

Master how to record a Microsoft Teams meeting with this simple step-by-step guide. Capture every detail effortlessly—perfect for work, training, or reviews. Updated for the latest features.

Troubleshooting Microsoft Teams OneDrive Error Syncing

Troubleshooting Microsoft Teams OneDrive Error Syncing

Struggling with Microsoft Teams 'OneDrive Error' syncing issues? Discover proven, step-by-step troubleshooting tips to resolve OneDrive sync errors in Teams quickly and restore seamless collaboration. Updated with the latest fixes.

Solving Microsoft Teams Password Error Recovery

Solving Microsoft Teams Password Error Recovery

Tired of Microsoft Teams password error blocking your work? Master solving Microsoft Teams "Password Error" recovery with proven, step-by-step fixes. Regain access fast and frustration-free!

Troubleshooting Microsoft Teams Installation Errors on Windows 11

Troubleshooting Microsoft Teams Installation Errors on Windows 11

Struggling with Microsoft Teams installation errors on Windows 11? Get step-by-step fixes for common issues like 0x80070005, 80070422, and more. Quick, effective troubleshooting to get you back to collaborating seamlessly.