Skip to main content

Interface: SettingsCategoryRegistration

Defined in: types/frontend.ts:217

Registration for a settings category (group of sections).

Example

{
categoryId: 'my-plugin',
label: 'My Plugin',
sections: [],
order: 50,
}

Properties

categoryId

categoryId: string

Defined in: types/frontend.ts:219

Unique category identifier


label

label: string

Defined in: types/frontend.ts:222

Display label shown as the group heading


order?

optional order: number

Defined in: types/frontend.ts:228

Sort order among categories (lower = higher, default: 100)


sections

sections: SettingsSectionRegistration[]

Defined in: types/frontend.ts:225

Initial sections in this category (more can be added via registerSettingsSection)