What are instances?

Instances are duplicates of the main component. They inherit properties and design from the main component but can also have unique attributes.

Creating instances methods

Through the settings panel

  • Select the div element where you want your component to be placed
  • Choose the 'component' tag from the panel
Selecting the div where the component instance will be placed in the Divhunt Designer
  • Open the Settings panel and select the Component from the dropdown
Settings panel with the Component tag and the component dropdown

Quick add with keyboard shortcut modal

  • Select the div placeholder where you intend to insert your component
  • Press 'Ctrl + E / CMD + E', type the name of your component, and press 'Enter'
Quick add modal opened with Ctrl + E, searching for a component by name

Using the components panel

  • Choose the location for your instance, like an empty 'div'
  • Go back to your workspace, right-click on the div, and select ‘Set’
Components panel open with the right-click menu on a div to set a component
  •   Go back to your workspace, right-click on the div, and select ‘Set’
Right-click menu on a div with Set selected to insert a component instance