Layer Hierarchy Operations in Figpea
The layer list is a fundamental tool in Figpea that helps you organize and manage your design elements efficiently. Located in the toolbar, it provides a comprehensive view of your design's structure and offers various operations to manipulate layers.
Accessing the Layer List
You can access the layer list through the toolbar in Figpea. The layer list displays all your design elements in a hierarchical structure, making it easy to understand the relationship between different elements.
Key Features
1. Hierarchical Layer Organization
Layers are organized in a tree structure, with parent folders containing child layers. You can:
- Expand/collapse folders by clicking the caret icon (▶/▼)
- View layer types through their respective icons
- See layer names and manage their visibility
2. Layer Selection
The layer list supports various selection modes:
- Single click to select one layer
- Command/Ctrl + click to add or remove layers from selection
- Shift + click to select a range of layers between the last selected layer and the clicked layer
- Click on parent folders to select all contained layers
3. Layer Name Editing
You can easily rename layers directly in the layer list:
- Select a layer to activate it
- Double-click on the layer name to enter edit mode
- Type the new name and press Enter to save
- Press Escape to cancel editing
- Click outside the input field to save changes
4. Layer Visibility Control
Each layer has a visibility toggle that can be accessed by:
- Hovering over a layer to reveal the eye icon
- Clicking the eye icon to toggle visibility
- Managing visibility of both individual layers and folder groups
5. Layer Search
The search functionality helps you quickly find specific layers:
- Use the search bar at the top of the layer list
- Search by layer name
- Results update in real-time as you type
- Matching layers are highlighted while others are filtered out
6. Enhanced Drag and Drop
The layer list features an advanced drag and drop system:
- Drag individual layers or multiple selected layers at once
- Visual indicators show where layers will be placed:
- Blue border appears above or below the target layer
- Middle section of folders allows nesting layers
- Smart folder expansion:
- Hover over a folder while dragging to automatically expand it after a short delay
- Helps with organizing layers into deep hierarchies
- Drag multiple layers:
- Select multiple layers using Shift or Command/Ctrl click
- Drag the selection to move all selected layers together
- Maintains relative positions within the selection
7. Layer Operations
Several operations are available for each layer:
- Double-click to center the layer in the canvas view
- Click the eye icon to toggle visibility
- Click the delete icon to remove the layer
- Style Options:
- Italic
- Strike-through
- Underline
- Text Alignment: Left, Center, Right alignment options
- Text Box Settings: Control text container properties
Text Appearance
- Text Fill: Customize text color and fill properties
- Text Stroke: Add and style text outlines
- Text Effects: Apply special effects to text layers
Using the Snackbar Interface
The snackbar appears at the top of the screen when you select a layer. Operations are organized into logical groups separated by dividers. Each operation is represented by an intuitive icon button that toggles additional controls when clicked.
Some key features of the snackbar interface:
- Contextual display: Only shows relevant operations for the selected layer type
- Quick access: Most common operations are immediately available
- Expandable controls: Detailed settings appear in dropdown panels
- Real-time preview: Changes are immediately reflected on the canvas
Tips for Efficient Layer Editing
- Use keyboard shortcuts in combination with snackbar operations for faster workflow
- Take advantage of the transform tool for quick visual adjustments
- Use the inspect tool to ensure precise measurements and spacing
- Save commonly used styles to quickly apply them to other layers
- Utilize the code generation feature for development handoff
- Use Shift + click to quickly select multiple consecutive layers
- Organize complex designs by dragging multiple layers into folders at once
The snackbar interface in Figpea streamlines the layer editing process by providing easy access to the most commonly used operations while maintaining powerful control over layer properties. Whether you're working with shapes, text, or other layer types, the contextual nature of the snackbar ensures you have the right tools at hand when you need them.