Tutorial 16 of 428 min read

Layers & Groups

Read a component layout's structure in the Layers panel, use groups to move and hide elements together, and diagnose most layout problems from the layer list.

The Layers panel is the structural view of a component layout. It's also the best diagnostic tool in the editor. Most "why does this item look wrong?" questions are answered by reading it rather than by clicking around the canvas.

The Layers panel, with a group and two conditional layers

Reading a layer row

Each row carries, left to right:

Part Meaning
Grip handle Drag to restack
Type icon Text A, image, icon grid, shape, star, folder for a group
Name Blue with a chain icon when the element is bound to a property; plain when not. A layer you renamed keeps its own name and shows the column in a small blue chip beside it. Click the chip to connect a different column
Eye-with-cog badge The element has a visibility rule. Hover for a plain-English summary
Eye button Manual show/hide on every card, exports included. Appears on hover unless already hidden
Lock Shown when the layer is locked
⋮ menu On hover: Rename, Connect data, Visibility rule…, Lock, Duplicate, Group selection (with several layers selected), Bring to Front, Move Up, Move Down, Send to Back and Delete

Click a row to select its element, and Shift-click to add rows to the selection. Hovering a row highlights its element on the canvas. Double-click a name to rename it (Enter saves, Escape cancels). Right-clicking a row opens the same menu as right-clicking the element on the canvas. Right-clicking a folder row opens it for the group, selecting the group if it isn't already, and there Lock group, Hide group and Ungroup act on the folder. An empty layout says "No layers yet. Add an element to get started."

Two of those are diagnostics you should train yourself to scan:

Blue vs plain names (and the blue column chips) tell you what's bound. In the example layout, powers, Body, Title and Artwork are blue; Subtitle, Divider, Panel and Background are plain. Decoration is meant to be plain. A text element that's plain is usually a missing binding. See Data Binding.

The eye-cog badge marks conditional elements. Hovering a layer's badge gives you the rule without opening anything: "Shown when powers is empty", "Shown when title equals Dragon's Peak". On a group the tooltip only says Has a visibility rule; choose Visibility rule… from the folder's ⋮ menu to read it. On a layout you didn't build, hovering every badge is the fastest way to understand it. See Element Visibility.

Above the list sits the layout's coverage banner: "1 required property isn't on this layout: powers". It includes See how to replay the binding walkthrough and a dismiss button. When ShuffleKit can guess where an unused property belongs, it offers a one-click chip like number → Subtitle that binds it for you. The banner only appears on a front face, since a card back usually shows little of the card's data. It leaves out a property whose values all sit on cards that print on another layout, and a column the face's layout rules read (such as the Type that picks between designs), because choosing the layout is that column's job.

Stacking order

The list is top-to-front: the first row is drawn last and sits on top; the last row is the backmost.

A typical card reads bottom-up as: Background → Artwork → Panel → Divider → Title → Subtitle → Body → powers → Scroll.

That order explains something that confuses people about full-bleed art: the Artwork element is usually the full card size, with the text panel drawn on top of its lower half. The art isn't cropped to the top half. It is covered.

Drag a row's grip handle to restack. Since text sits above panels which sit above artwork, an element that "disappeared" has usually been dragged below an opaque neighbour rather than deleted.

Manual hide

The eye button on each row hides the element on every card, and has nothing to do with conditional visibility. A hidden layer stays hidden in the cards preview and in every export too, even though it still sits in the list (dimmed).

Use it to get a large background or panel out of the way while you position something behind it, then show it again. Don't rely on it to suppress an element you don't want printed: it is easy to forget it's off. Delete the element, or give it a visibility rule.

Groups

A group bundles several elements so they move, stack and hide together. In the Layers panel a group appears as a folder row with a member count and a collapse chevron; members are indented beneath it.

The folder row has its own controls: click it to select the whole group, click the chevron to Expand or Collapse it, double-click its name to rename it, and use the eye to hide it. It shows the eye-cog badge when the group has a visibility rule and a lock icon when it is locked. Drag a layer onto a folder row to move it into that group; to place a layer beside a folder instead, drop it on the row above or below.

A group selected

Select a group and the toolbar over the canvas changes to group controls:

  • Visibility rule: one rule for every member at once.
  • Position: Arrange (Bring to Front, Move Up, Move Down and Send to Back, moving the whole group), then X / Y / width / height of the folder's union box. Groups store no geometry of their own, so this is the only place to read or set it numerically.
  • Opacity: a single percentage that fades every layer in the group together.
  • Eye (Hide group): hide every member on every card, previews and exports included, until you show it again.
  • Lock: prevent accidental selection and dragging on the canvas.
  • Ungroup sits after these, with duplicate and delete at the far right.

The folder row's own ⋮ menu has Rename, Visibility rule…, Lock group, Bring to Front, Move Up, Move Down, Send to Back, Ungroup and Delete group. Ungroup (⌘⇧G) dissolves the group and keeps the elements; Duplicate is ⌘D.

Double-clicking on the canvas descends one group level per click, so you can reach a member without ungrouping.

Creating a group

  1. Select two or more elements with Shift-click, a canvas marquee, or from the Layers panel.
  2. Click Group in the multi-selection toolbar, right-click and choose Group, or press ⌘G (Ctrl+G on Windows).
  3. The elements become members of a folder row. Select that folder to move, lock, hide or give the whole group a visibility rule.

To dissolve it, select the group and choose Ungroup, or press ⌘⇧G (Ctrl+Shift+G on Windows). The elements remain. Only the grouping is removed.

Why group

To move things together. A title, its divider and its subtitle are one visual unit; grouping means repositioning them is one drag rather than three.

To hide things together. This is the more valuable reason. A rule on the group applies to every member, so a whole optional block containing a label, divider, and value is controlled by one rule instead of three that can drift apart.

To get two-condition logic. Element rules are single-condition, but group and member rules stack:

Show or hide every layer in this group per item based on a property value. Members' own rules still apply on top.

Group hidden → members hidden regardless. Group shown → each member evaluates its own rule. That's an AND, and it's the only way to get one on a single element.

To protect finished work. Lock a completed background group so you stop selecting it by accident.

Using layers to debug

A short checklist that catches most layout problems:

  1. Any text element with a plain (non-blue) name? Probably an unbound element that will print its placeholder on every card.
  2. Any element with an eye-cog badge you didn't expect? Hover it to see why it disappears on some cards.
  3. Any element manually hidden? The eye button is easy to leave toggled, and a hidden layer is missing from every export.
  4. Is something behind something else? Check the order before assuming an element was deleted.
  5. Does the group membership match the visual grouping? An orphaned divider outside its group is the usual cause of "the line shows but the text doesn't".

Combine that with the coverage banner at the top of this panel, the card counts in the Designs panel, and Preview mode, and you can diagnose almost anything without leaving the editor.

Ready to build your card game?