Skip to content
Tutorials Center
My learning

Topics

Lesson 8 of 36 ยท Interface and Frames

The Layers Panel: Order, Naming and Visibility

Master the Figma layers panel: stacking order, renaming, hiding and locking, searching layers and naming conventions, with runnable stand-ins that lint layer names.

Every object in a Figma file is a layer, and the Layers panel is the map of all of them. Learning to read and tidy that map pays off quickly: it makes selection easy, keeps developers from guessing, and makes components and prototypes much more reliable. This lesson covers the panel's features and a naming approach you can adopt immediately.

Reading the layer tree

The Layers panel is on the left under Pages. It shows a tree:

  • A page contains top-level layers (frames, sections, shapes).
  • A frame or group can be expanded with its arrow to show children.
  • Order matters: layers higher in the list are drawn in front of layers below. Dragging a layer up or down changes what overlaps what.

Icons identify the type: a # for frames, a square dash for groups, a diamond for components, T for text and so on. Click the small arrow to expand a container; hold Alt while clicking an arrow to expand or collapse every level inside it.

Reordering the stack

You can change order in three ways:

  1. Drag the layer in the panel.
  2. Ctrl+[ and Ctrl+] move a layer one step back or forward.
  3. Ctrl+Alt+[ and Ctrl+Alt+] send to the very back or very front (within its parent).

Stacking is per parent: a layer cannot be in front of something outside its parent container unless you move the container itself.

Visibility and locking

Hovering a row shows two icons on the right:

  • The eye hides or shows a layer (shortcut Ctrl+Shift+H). Hidden layers are not exported or shown in prototypes, but they stay in the file.
  • The lock prevents selection and editing on the canvas (Ctrl+Shift+L). Lock backgrounds so you never drag them by accident.

Lock your big background rectangles and decorative layers. Many "I cannot select anything" panics are just a locked frame or an invisible layer in front.

Renaming layers

Rename by double-clicking the name in the panel, or select the layer and press Ctrl+R. Figma gives default names such as Rectangle 7 and Frame 1284; text layers take their content as a name. Meaningful names matter because:

  • Developers read them in Dev Mode and exported file names come from them.
  • Search finds layers by name.
  • Component and variant names become part of your design system.

A naming convention that works

  • Describe what it is, not what it looks like: Avatar, not Blue circle.
  • Use Title Case or kebab-case consistently; avoid mixing.
  • Use / to build hierarchy in names of components and styles: Button/Primary.
  • Keep numbers meaningful: Card 1 only if the order matters.

Also note that if you select several layers and press Ctrl+R, you open the batch rename dialog, where you can set a pattern with variables such as the current name and sequential numbers (for instance Item {n}).

Searching layers

At the top of the layers area there is a search icon (or press Ctrl+F with the focus in the left sidebar). Type a name to filter the tree, and use the filter options to find layers by type (frames, text, components), or even by matching fill or other properties in newer versions. Pressing Enter selects all matches, which is handy for bulk edits.

Linting layer names with a stand-in

Teams often check names before handoff. The program below is a stand-in: plain Python that flags default Figma names, as an automated "lint" would. It does not read real Figma files.

Python Stand-in: find default layer names

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Five of the nine names are defaults. A design with this ratio is hard to hand off, so renaming early is time well spent.

Batch rename logic

Another stand-in shows how a rename pattern with a counter works, which is the same idea as Figma's batch rename.

Python Stand-in: rename with a counter

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check the exact variables Figma's rename dialog offers in your version; the concept stays the same.

Pages and layers working together

The layer tree you see is per page. If your file grows large (many screens, experiments), splitting it across pages keeps the tree short. That topic is covered in Pages and File Organization.

Tips for large files

  • Collapse everything (Alt+click an arrow) to get an overview, then expand where needed.
  • Use sections to keep related screens together on the canvas; their names appear in the layer tree.
  • Delete unused layers and hidden experiments before handoff; they bloat the file and confuse developers.
  • Use "Select matching layers" (right-click > Select matching layers) to find objects that share fills or text styles.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. In the Layers panel, a layer listed higher is drawn...

    Higher in the list means higher in the stacking order, so it overlaps lower layers.
  2. 2. Which shortcut hides or shows the selected layer?

    Ctrl+Shift+H toggles visibility; Ctrl+Shift+L toggles locking.
  3. 3. Why rename Frame 1284 to a descriptive name?

    Names are the main handoff communication inside the layers tree.
  4. 4. What does a slash in a component name like Button/Primary create?

    Figma groups assets by slash-separated name parts.

Summary

  • The layer tree shows structure and stacking; higher means in front.
  • Hide with the eye, lock with the lock, and rename with a double-click or Ctrl+R.
  • Use descriptive, consistent names with slashes for hierarchy.
  • Lint for default names before handoff.

Next: Pages and File Organization