Skip to main content

How To Add a Component

Steps

  • On the Sidebar Menu, select Components
  • Select ADD NEW
  • Fill in the form with the required details
  • On completion, choose either Save or Save and Publish

Form Values

NameTypeExampleDescription
PathStringComponents/HeroBanner.jsLocation/path of the remote component.
Platforms / DevicesArray[web]Platforms this component applies to.
TypeStringButton, Hero, Select BoxType of component you are creating.
CodeHTML / React CodeCode for the component.
tip

After publishing a component, you can attach it to a Specification.