Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

WordPress Developer Resources

Reusable blocks

  • Developer Blog
  • Code Reference
  • WP-CLI Commands
  • Developer Blog
  • Code Reference
  • WP-CLI Commands
HomeBlock Editor HandbookReference GuidesData Module ReferenceReusable blocks

Reusable blocks

In this article

  • Selectors
  • Actions

↑ Back to top

Namespace: core/reusable-blocks.

This package is still experimental. “Experimental” means this is an early implementation subject to drastic and breaking changes.

Selectors

Nothing to document.

Actions

Nothing to document.

First published

July 26, 2022

Last updated

June 7, 2026

Edit article

Improve it on GitHub: Reusable blocks

Previous Preferences Previous: Preferences
Next Rich Text Next: Rich Text

Chapters

  • Block Editor Handbook
  • Getting Started
    • Block Development Environment
      • Node.js development environment
      • Get started with wp-env
      • Get started with create-block
      • Get started with wp-scripts
    • Quick Start Guide
    • Tutorial: Build your first block
    • Fundamentals of Block Development
      • File structure of a block
      • block.json
      • Registration of a block
      • The block wrapper
      • The block in the Editor
      • Markup representation of a block
      • Static or Dynamic rendering of a block
      • Working with JavaScript for the Block Editor
    • Glossary
    • Frequently Asked Questions
  • How-to Guides
    • Accessibility
    • Blocks
      • Use styles and stylesheets
      • Creating dynamic blocks
      • Nested Blocks: Using InnerBlocks
      • Extending the Query Loop block
    • Development Platform
      • Building a custom block editor
    • Create your First App with Gutenberg Data
      • Setup
      • Building a list of pages
      • Building an edit form
      • Building a Create page form
      • Adding a delete button
    • Curating the Editor Experience
      • Block Locking API
      • Patterns
      • theme.json
      • Filters and hooks
      • Disable Editor functionality
    • Enqueueing assets in the Editor
    • Feature Flags
    • Formatting Toolbar API
    • Internationalization
    • Meta Boxes
    • Notices
    • Plugin Sidebar
    • Propagating updates for block types
    • Themes
      • Global Settings & Styles (theme.json)
      • Theme Support
    • Thunks in Core-Data
    • Widgets
      • Widgets Block Editor overview
      • Restoring the classic Widgets Editor
      • About the Legacy Widget block
  • Reference Guides
    • Block API Reference
      • Annotations
      • API Versions
        • Migrating Blocks for iframe Editor Compatibility
      • Attributes
      • Bindings
      • Context
      • Deprecation
      • Edit and Save
      • Metadata in block.json
      • Patterns
      • Registration
      • Selectors
      • Styles
      • Supports
      • Templates
      • Transforms
      • Variations
    • Core Blocks Reference
      • Design Blocks
        • Accordion Heading
        • Accordion Item
        • Accordion Panel
        • Accordion
        • Button
        • Buttons
        • Column
        • Columns
        • Comment Template
        • Group
        • Home Link
        • More
        • Custom Link
        • Navigation Overlay Close
        • Submenu
        • Page Break
        • Separator
        • Spacer
        • Tab List
        • Tab Panel
        • Tab Panels
        • Tab
        • Table of Contents
        • Tabs
        • Text Columns (deprecated)
      • Embed Blocks
        • Embed
      • Media Blocks
        • Audio
        • Cover
        • File
        • Gallery
        • Icon
        • Image
        • Media & Text
        • Playlist track
        • Playlist
        • Video
      • Reusable Blocks
        • Pattern
      • Text Blocks
        • Code
        • Details
        • Footnotes
        • Classic
        • Heading
        • List Item
        • List
        • Math
        • Unsupported
        • Paragraph
        • Preformatted
        • Pullquote
        • Quote
        • Table
        • Poetry
      • Theme Blocks
        • Avatar
        • Breadcrumbs
        • Comment Author Avatar (deprecated)
        • Comment Author Name
        • Comment Content
        • Comment Date
        • Comment Edit Link
        • Comment Reply Link
        • Comments Next Page
        • Comments Page Numbers
        • Comments Previous Page
        • Comments Pagination
        • Comments Title
        • Comments
        • Login/out
        • Navigation
        • Pattern Placeholder
        • Author Biography
        • Author Name
        • Author (deprecated)
        • Comment (deprecated)
        • Comments Count
        • Comments Form
        • Comments Link
        • Content
        • Date
        • Excerpt
        • Featured Image
        • Post Navigation Link
        • Post Template
        • Post Terms
        • Time to Read
        • Title
        • No Results
        • Next Page
        • Page Numbers
        • Previous Page
        • Pagination
        • Query Title
        • Query Total
        • Query Loop
        • Read More
        • Site Logo
        • Site Tagline
        • Site Title
        • Template Part
        • Term Count
        • Term Description
        • Term Name
        • Term Template
        • Terms Query
      • Widgets Blocks
        • Archives
        • Calendar
        • Terms List
        • Input Field
        • Form Submission Notification
        • Form Submit Button
        • Form
        • Custom HTML
        • Latest Comments
        • Latest Posts
        • Page List Item
        • Page List
        • RSS
        • Search
        • Shortcode
        • Social Icon
        • Social Icons
        • Tag Cloud
    • Hooks Reference
      • Block Filters
      • Editor Hooks
      • i18n Filters
      • Parser Filters
      • Autocomplete
      • Global Styles Filters
    • Interactivity API Reference
      • Core Concepts
        • The Reactive and Declarative mindset
        • Understanding global state, local context, derived state and config
        • Server-side rendering: Processing directives on the server
        • Using TypeScript
        • Client-Side Navigation
        • Client-Side Navigation Compatibility
      • Quick start guide
      • Directives and Store
      • About the Interactivity API
      • Frequently Asked Questions
    • SlotFills Reference
      • MainDashboardButton
      • PluginBlockSettingsMenuItem
      • PluginDocumentSettingPanel
      • PluginMoreMenuItem
      • PluginPostPublishPanel
      • PluginPostStatusInfo
      • PluginPrePublishPanel
      • PluginSidebar
      • PluginSidebarMoreMenuItem
    • RichText Reference
    • Theme.json Reference
      • Theme.json Version 3 Reference (latest)
      • Theme.json Version 1 Reference
      • Theme.json Version 2 Reference
      • Migrating Theme.json to Newer Versions
      • Available Styles Options
    • Component Reference
      • BaseField
      • Flyout
      • DimensionControl
      • Navigation
      • AlignmentMatrixControl
      • AnglePickerControl
      • Animate
      • Autocomplete
      • BaseControl
      • BorderBoxControl
      • BorderControl
      • BoxControl
      • ButtonGroup
      • Button
      • DateCalendar
      • DateRangeCalendar
      • CardBody
      • CardDivider
      • CardFooter
      • CardHeader
      • CardMedia
      • Card
      • CheckboxControl
      • CircularOptionPicker
      • ClipboardButton
      • ColorIndicator
      • ColorPalette
      • ColorPicker
      • ComboboxControl
      • Composite
      • ConfirmDialog
      • CustomSelectControl
      • Dashicon
      • DatePicker
      • DateTime
      • TimePicker
      • Disabled
      • Divider
      • Draggable
      • DropZone
      • DropdownMenu
      • Dropdown
      • DuotonePicker
      • Elevation
      • ExternalLink
      • FlexBlock
      • FlexItem
      • Flex
      • FocalPointPicker
      • FocusableIframe
      • FontSizePicker
      • FormFileUpload
      • FormToggle
      • FormTokenField
      • GradientPicker
      • Grid
      • Guide
      • HStack
      • Heading
      • NavigateRegions
      • HigherOrder
      • WithConstrainedTabbing
      • WithFallbackStyles
      • WithFilters
      • WithFocusOutside
      • WithFocusReturn
      • WithNotices
      • WithSpokenMessages
      • Icon
      • InputControl
      • IsolatedEventContainer
      • ItemGroup
      • Item
      • KeyboardShortcuts
      • MenuGroup
      • MenuItem
      • MenuItemsChoice
      • Modal
      • NavigableContainer
      • Navigator
      • Notice
      • NumberControl
      • Panel
      • Placeholder
      • Popover
      • ProgressBar
      • QueryControls
      • RadioControl
      • RadioGroup
      • RangeControl
      • ResizableBox
      • ResizeTooltip
      • ResponsiveWrapper
      • Sandbox
      • ScrollLock
      • Scrollable
      • SearchControl
      • SelectControl
      • SlotFill
      • Snackbar
      • Spacer
      • Spinner
      • Surface
      • TabPanel
      • TextControl
      • TextHighlight
      • Text
      • TextareaControl
      • ToggleControl
      • ToggleGroupControlOptionBase
      • ToggleGroupControlOptionIcon
      • ToggleGroupControlOption
      • ToggleGroupControl
      • ToolbarButton
      • ToolbarDropdownMenu
      • ToolbarGroup
      • ToolbarItem
      • Toolbar
      • ToolsPanelHeader
      • ToolsPanelItem
      • ToolsPanel
      • Tooltip
      • TreeGrid
      • TreeSelect
      • Truncate
      • UnitControl
      • VStack
      • VisuallyHidden
      • ZStack
    • Package Reference
      • @wordpress/custom-templated-path-webpack-plugin
      • @wordpress/boot
      • @wordpress/experiments
      • @wordpress/e2e-test-utils
      • @wordpress/library-export-default-webpack-plugin
      • @wordpress/a11y
      • @wordpress/abilities
      • @wordpress/admin-ui
      • @wordpress/annotations
      • @wordpress/api-fetch
      • @wordpress/asset-loader
      • @wordpress/autop
      • @wordpress/babel-plugin-import-jsx-pragma
      • @wordpress/babel-plugin-makepot
      • @wordpress/babel-preset-default
      • @wordpress/base-styles
      • @wordpress/blob
      • @wordpress/block-directory
      • @wordpress/block-editor
      • @wordpress/block-library
      • @wordpress/block-serialization-default-parser
      • @wordpress/block-serialization-spec-parser
      • @wordpress/blocks
      • @wordpress/browserslist-config
      • @wordpress/commands
      • @wordpress/components
      • @wordpress/compose
      • @wordpress/core-abilities
      • @wordpress/core-commands
      • @wordpress/core-data
      • @wordpress/create-block-interactive-template
      • @wordpress/create-block-tutorial-template
      • @wordpress/create-block
        • External Project Templates
      • @wordpress/customize-widgets
      • @wordpress/data-controls
      • @wordpress/data
      • @wordpress/dataviews
      • @wordpress/date
      • @wordpress/dependency-extraction-webpack-plugin
      • @wordpress/deprecated
      • @wordpress/design-system-mcp
      • @wordpress/docgen
      • @wordpress/dom-ready
      • @wordpress/dom
      • @wordpress/e2e-test-utils-playwright
      • @wordpress/e2e-tests
      • @wordpress/edit-post
      • @wordpress/edit-site
      • @wordpress/edit-widgets
      • @wordpress/editor
      • @wordpress/element
      • @wordpress/env
      • @wordpress/escape-html
      • @wordpress/eslint-plugin
      • @wordpress/fields
      • @wordpress/format-library
      • @wordpress/global-styles-engine
      • @wordpress/global-styles-ui
      • @wordpress/hooks
      • @wordpress/html-entities
      • @wordpress/i18n
      • @wordpress/icons
      • @wordpress/image-cropper
      • @wordpress/interactivity-router
      • @wordpress/interactivity
      • @wordpress/interface
      • @wordpress/is-shallow-equal
      • @wordpress/jest-console
      • @wordpress/jest-preset-default
      • @wordpress/jest-puppeteer-axe
      • @wordpress/keyboard-shortcuts
      • @wordpress/keycodes
      • @wordpress/latex-to-mathml
      • @wordpress/lazy-editor
      • @wordpress/lazy-import
      • @wordpress/list-reusable-blocks
      • @wordpress/media-editor
      • @wordpress/media-fields
      • @wordpress/media-utils
      • @wordpress/notices
      • @wordpress/npm-package-json-lint-config
      • @wordpress/nux
      • @wordpress/patterns
      • @wordpress/plugins
      • @wordpress/postcss-plugins-preset
      • @wordpress/postcss-themes
      • @wordpress/preferences-persistence
      • @wordpress/preferences
      • @wordpress/prettier-config
      • @wordpress/primitives
      • @wordpress/priority-queue
      • @wordpress/private-apis
      • @wordpress/project-management-automation
      • @wordpress/react-i18n
      • @wordpress/readable-js-assets-webpack-plugin
      • @wordpress/redux-routine
      • @wordpress/reusable-blocks
      • @wordpress/rich-text
      • @wordpress/route
      • @wordpress/router
      • @wordpress/scripts
      • @wordpress/server-side-render
      • @wordpress/shortcode
      • @wordpress/style-engine
        • @wordpress/style-engine Using the Style Engine to generate block supports styles
      • @wordpress/style-runtime
      • @wordpress/stylelint-config
      • @wordpress/sync
      • @wordpress/theme
      • @wordpress/token-list
      • @wordpress/ui
      • @wordpress/undo-manager
      • @wordpress/upload-media
      • @wordpress/url
      • @wordpress/viewport
      • @wordpress/views
      • @wordpress/vips
      • @wordpress/warning
      • @wordpress/widgets
      • @wordpress/wordcount
      • @wordpress/worker-threads
      • @wordpress/build
    • Data Module Reference
      • The NUX (New User Experience) Data
      • WordPress Core Data
      • Annotations
      • Block directory
      • The Block Editor’s Data
      • Block Types Data
      • The Commands Data
      • Customize Widgets
      • The Editor’s UI Data
      • Edit Site
      • Edit Widgets
      • The Post Editor’s Data
      • The Keyboard Shortcuts Data
      • Notices Data
      • Preferences
      • Reusable blocks
      • Rich Text
      • The Viewport Data
  • Explanations
    • Architecture
      • Key Concepts
      • Data Flow and Data Format
      • Entities and Undo/Redo.
      • Modularity
      • Performance
      • Automated Testing
      • Site Editing Templates
      • Styles in the Editor
    • User Interface
      • Block Design
      • Animation
      • Resources
    • History
  • Contributor Guide
    • Code Contributions
      • Getting Started With Code Contribution
      • Git Workflow
      • Coding Guidelines
      • Testing Overview
        • End-to-End Testing
          • Migration guide
          • Overusing snapshots
      • Scripts
      • Managing Packages
      • Workspace Development
      • Gutenberg Release Process
        • Gutenberg plugin releases
        • Packages releases to NPM and WordPress Core updates
        • Cherry-picking automation
      • React Native mobile editor
        • Getting Started for the React Native based Mobile Gutenberg
        • Setup guide for React Native development (macOS)
        • React Native Integration Test Guide
        • React Native Internationalization Guide
      • Backward Compatibility
      • Deprecations
      • How To Get Your Pull Request Reviewed?
    • Design Contributions
      • Blocks are the Interface
    • Documentation Contributions
      • Copy Guidelines
    • Triage
    • Localizing Gutenberg
    • Accessibility Testing
    • Repository Management
    • Folder Structure
    • Gutenberg versions in WordPress
  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.