BlockAdminConfig
Defined in: packages/core/src/fields/blocks/types.ts:38
Admin UI configuration for a single block definition.
Properties
Section titled “Properties”defaultCollapsed?
Section titled “defaultCollapsed?”
optionaldefaultCollapsed?:boolean
Defined in: packages/core/src/fields/blocks/types.ts:56
Whether this block starts expanded when the page loads.
Default: true (block is open by default)
Note: Controlled by the field-level admin.defaultCollapsed setting —
when that is true, all blocks start collapsed regardless of this value.
optionalicon?:string
Defined in: packages/core/src/fields/blocks/types.ts:47
Lucide icon name shown next to the block label in the picker dialog.
Typed as string in @vexcms/core to avoid a React dependency.
Rendered via the existing <Icon name={...}> component in @vexcms/react.
Example
Section titled “Example”"Sparkles" | "Puzzle" | "Megaphone" | "CreditCard"