BlockCrate adds nine blocks to the WordPress block editor. Each one is built on
the editor’s own design tools rather than a parallel set of controls, so colour,
typography, spacing, borders and shadows come from your theme and behave the way
core blocks do.
The blocks work before their JavaScript loads. The accordion is a native
details element, the carousel is a scroll-snap strip, the progress bar renders
at its final value, and the tabs fall back to a plain stack of labelled
sections. Scripts only ever upgrade what is already there.
Blocks
Accessibility
Interactive blocks are keyboard operable and expose the right roles and states.
Decorative graphics are hidden from assistive technology, ratings are announced
once rather than as a row of glyphs, and every animation is dropped when the
visitor prefers reduced motion.
This plugin is fully open source (GPLv3 or later) and contains no obfuscated or
minified-only code.
Where the source lives
The human-readable source for everything in build/ ships inside the plugin:
resources/js/blocks/ — the editor bundle (TypeScript/React), one directory per blockresources/js/frontend/ — the front-end view scripts, one file per blockresources/css/ — style.css (front end) and editor.css (editor chrome)app/, bootstrap/, config/ — all PHP, unminified
build/ contains nothing but the compiled output of those files.
How to rebuild it
The compiled output in build/ is produced from the sources above with
@wordpress/scripts (webpack), PostCSS and Tailwind. Requires Node.js 18+:
npm install
npx wp-scripts build
composer install restores the single PHP runtime dependency (PHP-DI) into
vendor/. The webpack, PostCSS and Tailwind configuration files are kept out of
the distributed archive, as the plugin directory does not accept .cjs files in
a published plugin. They are standard @wordpress/scripts configuration and are
available from the author on request.
Bundled third-party libraries
All are MIT licensed and GPL compatible:
React and the @wordpress/* packages are not bundled; they are loaded from
WordPress core as registered script dependencies.