Skip Navigation

Documentation

Sections

Updated

Sections section help you group and organize the high-level parts of your design. You can think of them as mini pages, or super frames. Use a section to group the screens of a flow, such as onboarding, with nested sections for the login and sign-up steps. Sketch also uses sections automatically to bring a component and its variants together as a variant set.

We designed sections to feel like you’re working directly on the canvas, rather than inside a frame or group.

Useful shortcuts

Insert a section S
Group selection as a section ⌃S

Inserting sections

Before Sketch 2026.4, S opened the command bar. It now inserts a section. You can still open the command bar with ⌘K, and any custom shortcut you’ve set for it still works.

Press S to use the Section tool section. You can also choose Insert > Section in the menu bar or the toolbar, or look for section in the command bar.

Draw a section around existing layers, and Sketch moves them into it.

With the Section tool you can:

  • Click and drag on the canvas to draw a new section. If you draw around existing layers, Sketch moves them into the section.
  • Click on the canvas to insert a section with the same dimensions as the last section you inserted.

Unlike frames, sections don’t have templates. They’re meant to be flexible, canvas-like areas you shape around your content.

To group existing layers in a section, select them and choose Arrange > Group as Section, or press ⌃S.

Changing a container’s type

You can turn a frame, graphic, or group into a section, and back again. Select the layer and choose Arrange > Container > Section. To turn a section into another type of container, choose Frame, Graphic, or Group from the same menu. You can also use the container menu at the top of the inspector, or search for Change to Section in the command bar.

Some options aren’t available if the change would break the rules for nesting. For example, a frame inside another frame can’t become a section, and a section that contains other sections can’t become a frame. If you turn a frame into a section, Sketch removes any prototype links to or from it.

Adding layers to sections

When you duplicate or paste a layer inside a section, we tile the copy horizontally and resize the section to fit it. We keep the spacing you already have between layers, and the padding between the section and its contents, so you spend less time arranging things by hand. The same happens when you add a variant to a variant set, or click a frame template to insert it.

If you add something to a nested section, every section around it grows to fit too. This includes variant sets, so adding a variant inside a nested section resizes the whole component. Outer sections stop growing at any section that uses a stack layout.

Sketch only resizes sections automatically when you add layers like this. Dragging or resizing layers yourself won’t change the section, so it never gets in your way. The one exception is Make Grid, which resizes any sections it affects as you drag out the grid.

To shrink or grow a section around its contents yourself, choose Layer > Size to Fit. Sketch keeps 50px of padding between the section and its contents.

If you want more control over the arrangement, add a stack layout to the section and we’ll lay out its contents for you.

When you insert a frame from a template, it goes into a section if you’ve selected one, or the section that contains your selection. If nothing is selected and a section fills your view, the frame goes into that section.

Frames inside a section

Frames placed directly inside a section work just like top-level frames on a page. They show their titles on the canvas, and they can be prototype destinations.

To move a frame inside a section, drag it by its title on the canvas. This moves the frame rather than the section, even if you’ve selected the section.

Selecting layers inside a section

Selecting inside a section works much like selecting inside a frame. You can start a marquee from anywhere, click empty space inside the section to clear your selection, and ⌘-click the section to select it. To draw a marquee inside a selected section, press X first, then drag.

When a section fills your view, it behaves more like a page. Clicking empty space clears your selection, even if the section is selected, and dragging starts a marquee. You also can’t ⌘-click the section to select it.

Styling sections

Sections have no styling by default, so the canvas shows through and working inside one feels like working on the page. To show you where a section ends, Sketch draws a dashed gray outline around unstyled sections. The outline stays the same thickness as you zoom. Section titles on the canvas are also bolder than frame titles, so you can tell them apart.

Just like frames, you can add fills, borders, shadows, and other styling in the inspector. The first fill you add to a section is white, like it is for frames. Once a section has any styling, the dashed outline disappears. It comes back if you remove all of the section’s styling.

Nesting sections

You can put sections directly on a page or inside other sections. You can’t put a section inside a frame, graphic, or group.

Use nested sections to break a large area of your design into smaller groups. For example, a section for a component’s variants could hold one nested section for a “Dark” theme and another for a “Light” theme.

Things you can’t do with sections

Sections are an organizational tool, so some layer features don’t apply to them:

  • You can’t rotate a section.
  • A section can’t be the source or destination of a prototype link, and you can’t set it as a prototype start point. Frames inside a section still work as normal in prototypes.

Moving sections and their contents

Choose Arrange > Send To, or right-click and choose Send To, to move a section to another page or into another section. To move it to a page that doesn’t exist yet, choose New Page…, then enter a name for the page. Sketch suggests the section’s name. You can also use Send To to move frames into a section on any page. When you send layers, we confirm the move on the canvas and give you the option to go to the layers you moved.

Finding sections in the layer list

When the current page has sections, the Layers heading at the top of the layer list shows a sections button section. Click it to see a list of every section on the page and jump to any of them.

Next to it, the collapse button closes every expanded group in the layer list, which helps when you’re working with lots of nested sections.

In a Workspace document, you can copy a link to a section just like you can for a page or frame. Select the section, then do one of the following:

  • Choose File > Copy Link to Section or Layer > Copy Link to Section.
  • Right-click the section on the canvas and choose Copy Link to Section.
  • Click the copy link button (Copy section link to clipboard) at the top of the inspector, next to the layer type.
  • Search for Copy Link in the command bar.

A message on the canvas confirms you’ve copied the link. This also works for variant sets. Anyone who opens the link goes straight to that section. Previews for sections are not available yet.

Exporting sections

You can export a section in the same way you export a frame. Select it, then add an export option in the inspector.

If the section has no fill, the export has a transparent background and leaves out the empty space around the section’s contents. The spacing between the layers inside it stays the same.

Comments in sections

You can pin comments to sections, just like frames. When you export comments with File > Export > Comments to CSV, the file includes a Section column between the Page and Frame columns.

Did you find this useful?