Skip to main content


First, indicate the directory to resolve variation modules from:


Then, create *.variation.{js,ts} modules.

Each should export the required properties of the WordPress Editor Variations API.

They should also export the variation name (sometimes referred to as namespace in WordPress documentation).


Using named exports:

export const block = `core/list`
export const name = `custom`
export const label = `Custom`
export const isDefault = false

Using a default export:

export default {
block: `core/list`,
name: `custom`,
label: `Custom`,
isDefault: false,