![]() The number of nesting levels for subcategories is not limited. Lunacy will show them automatically based on component names. You don’t need to manually create categories and subcategories. To divide your components into categories, consider the following format of component names:Ĭategory name / Subcategory name / Component nameįor example, to organize your button components, you can give them the following names: Organizing componentsĪs your project and the number of components in it grows, you will definitely face the need of organizing components into categories similar to those shown in the figure below. You can opt to select any other page but make sure that the primary intent of such page will be storing components.įor this, right-click the required page above the Layer List and select Set as Components page on the displayed menu.įrom now on, when you add new components, the New component dialog box will in the first place offer this page for saving components to. This page will be added to the project automatically. When you create your first component within a project, Lunacy will offer you to save it to the default page named Components. You should store all your components on a separate page apart from designs. In the New component dialog box, define the name of the component and select the page where you will store your components and click OK. Press Ctrl + Alt + K, if you prefer shortcuts.Right-click and select Create component on the displayed menu.Click the add component icon on the tool bar at the top of the window.Click the plus icon in the components panel.Select a layer and perform one of the following actions: ![]() The demo below demonstrates the effect and efficiency of using components in designs. We will discuss overrides later in this section. Moreover, you can also change the text on one or even all instances. If you later decide to change the size, shape or the color of your buttons, you’ll need to modify only the main component, and the changes will immediately apply to all the instances. For example, when you are designing a UI, you can create a button component (that will be a main component) and then add identical buttons (component instances) wherever you need them with just a click. When working with components you should understand the idea of main components and component instances. Explore the power of Lunacy by learning how to use componentsĬomponents are reusable layers or groups of layers that make your designs consistent and your life easier.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |