Skip to main content

Components

Components let you save design elements you use repeatedly throughout your project as reusable parts. With Components, you can manage everything in one place, keep your design consistent, and build websites more efficiently.

What are components?

Components are a feature that lets you register and manage elements you want to reuse and control together as "shared parts" within a project. When you edit a component, the changes are automatically applied to every place where that component is used.

Tip: You can also customize individual instances by using the properties feature.

Key features of components

  • Reusable: Place a component you've created in multiple locations.

  • Bulk editing: Edit a single component, and the changes automatically apply to every instance.

  • Customizable: Use the properties feature to individually customize each instance of a placed component.

When to use components

Turn elements that appear throughout your site into components, such as headers, footers, and navigation menus.


Create a component

  1. On the screen or in the Layers panel, select the element you want to turn into a component.

  2. Convert it into a component using one of these methods:

    • Right-click and select [Convert to Component]

    • Use the shortcut ⌘+J (Ctrl+J on Windows)

  3. Enter a name for the component.

  4. Check any elements you want to turn into properties. Elements set as properties can be customized individually for each instance of the component.

  5. Click [Create Component].

View and place components

  1. In the left navigation of the Design Editor, click the Components icon .

  2. The Components panel opens on the left, showing a list of all created components.

  3. Select the component you want to place, then add it to the screen using one of these methods:

    • Drag and drop

    • Click to place

Screenshot: Clicking the Components icon in the left navigation of the Design Editor opens the Components panel.

Edit a component

  1. Select the component on the screen.

  2. Double-click the component, or select it and press Enter to switch to edit mode.

  3. In edit mode, you can:

    • Add or delete boxes

    • Edit layout, appearance, position, and more

    • Add or edit properties

Areas that are registered as properties can be edited directly without entering edit mode.

Detach a component

If you want to treat a component as a regular box, you can detach it by following these steps.

  1. On the screen or in the Layers panel, select the component you want to detach.

  2. Use the shortcut ⌘+Shift+J (Ctrl+Shift+J on Windows) to detach the component.

When you detach a component, the element remains on the screen as a regular box. The original component and other instances are not affected.

Screenshot: Detach Component option shown in the right-click menu.

Delete a component

  1. In the left navigation of the Design Editor, click the Components icon .

  2. The Components panel opens on the left.

  3. Select the component you want to delete from the list.

  4. Click the "×" to the right of the component name to delete it.

  5. When you delete a component, any instances placed on the page are automatically detached and remain as regular boxes.

Use properties with components

Normally, you can't set different data or designs for each instance of the same component. But by using properties, you can switch the data or design for each instance individually.

For an overview of properties and detailed setup steps, see Use properties to vary the data and design of the same component across instances.


component パープル 紫色 フッダー コンポーネント

Did this answer your question?