Skip to main content

Properties

string
required
The block type identifier. Must be unique within the section.
string
required
The block name shown in the theme editor.
number
The maximum number of blocks of this type that can be added to the section.
array
An array of settings specific to this block type. Uses the same structure as section settings.
object
Additional settings for the theme editor:
  • icon - Icon to be associated with this block type in the theme editor