网页 综合 更新时间 2026-11-12 00:00:00

Ghent (2026.4) · Sketch

自动蜘蛛 www.sketch.com 正文约 2819 字
Ghent (2026.4) · Sketch
Discover the latest features in Sketch
Components can now have variants, which makes for cleaner libraries and easy swapping between different versions of a component.
For example, you can now create a single button component and all its variants, organized with properties like State (Default, Hover, Pressed…), Theme (Dark/Light), and Size (Regular, Large…). Before, you would have needed separate components organized in groups.
To create a variant, select an existing component source and press ⌘Y (or choose “Add Variant” in the toolbar, inspector menu, or command bar).
You can combine multiple components into a single component with variants by choosing “Combine as Variants”, which keeps their instances attached. We’ll use their names to pre-fill the new component’s properties.
When you browse components, we show a single component rather than every variant, to make the list easier to work with. You can swap a component’s variants via its properties in the inspector after you insert it.
Sections are a new way for you to group and organize high-level pieces of your design. They work hand-in-hand with variants. You can think of them like mini pages, or super frames.
For example, if you have a component with variants that use a “Theme” property, you can bring those variants together under a section, with a nested section for the “Dark” theme and another for the “Light” theme. You could also use sections to group together screens that form a specific flow, such as onboarding, with nested sections for the login and sign-up flows.
You can draw a section by pressing S. You can also select existing layers and group them as a section via Arrange > Group as Section or by pressing ⌃S. Sections are made to feel like you’re working directly on the canvas, rather than inside a frame or group. When you duplicate or paste a layer inside a section, we’ll automatically tile it horizontally and resize the section to fit its new content (preserving any spacing), saving you time on organizing and arranging.
Sections have no styling by default, but just like frames, you can add any styling you wish. You can also add a stack layout to a section so the layers inside it are arranged for you.
This aligns our terminology with the rest of the industry. We’ve also renamed “Components View” to “Assets View” as that’s where you can browse and organize all assets in your document: components, styles, variables, and templates.
This change does not affect the shortcuts to create a component (⌘Y) or insert components (C or Y).
For a full guide to the API changes in this update, check out our developer documentation.
Requires macOS Sequoia (15.0.0) or newer
Get all the latest news, blog posts and product updates from Sketch, delivered directly to your inbox. We’ll rarely send more than one email a month.
访问原文 返回搜索 https://www.sketch.com/changelog/ghent/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。