This page lists the blocks included in the block-library package.
- Items marked with a strikeout (
strikeout) are explicitly disabled. - Blocks marked with Experimental: true are only available when Gutenberg is active.
- Blocks marked with Experimental: fse are only available in the Site Editor.
Accordion
Displays a foldable layout that groups content in collapsible sections. (Source)
- Name: core/accordion
- Category: design
- Allowed Blocks: core/accordion-item
- Supports: align (full, wide), anchor, ariaLabel, background (backgroundImage, backgroundSize), color (background, gradients, text), contentRole, interactivity, layout, shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight),
html - Attributes: autoclose, headingLevel, iconPosition, levelOptions, showIcon
Accordion Heading
Displays a heading that toggles the accordion panel. (Source)
- Name: core/accordion-heading
- Category: design
- Parent: core/accordion-item
- Supports: anchor, color (background, gradients, text), interactivity, shadow, spacing (padding), typography (fontSize),
align,lock,visibility - Attributes: iconPosition, level, openByDefault, showIcon, title
Accordion Item
Wraps the heading and panel in one unit. (Source)
- Name: core/accordion-item
- Category: design
- Parent: core/accordion
- Allowed Blocks: