@wordpress namespace and are also available as WordPress script handles.
Main Package Categories
Block Development
- @wordpress/blocks - Core block API for registering and managing block types
- @wordpress/block-editor - Standalone block editor components and hooks
- @wordpress/block-library - Core WordPress blocks implementation
Editor Applications
- @wordpress/edit-post - Post editor screen and extensions
- @wordpress/edit-site - Site editor for full-site editing
Data Layer
- @wordpress/data - State management and data stores
- @wordpress/core-data - WordPress entities and REST API integration
UI Components
- @wordpress/components - Reusable UI component library
- @wordpress/element - React abstraction layer
- @wordpress/compose - React hooks and higher-order components
Utilities
- @wordpress/hooks - JavaScript hooks (actions and filters)
- @wordpress/i18n - Internationalization utilities
- @wordpress/scripts - Build tooling and development scripts
Installation
All packages are available via npm:Environment Requirements
These packages assume your code will run in an ES2015+ environment. If you need support for older browsers, include the polyfill from@wordpress/babel-preset-default.
Package Architecture
The editor follows a layered architecture:- block-editor - Generic, WordPress-agnostic editor
- editor - WordPress post-type-aware functionality
- edit-post/edit-site - Complete editor screens