Documentation
BlockCrate
Installing the blocks, where they appear in the editor, the design tools each one exposes, and the accessibility behaviour you can rely on.
// Getting started
Install it
- Install from Plugins → Add New, or upload the
blockcratefolder to/wp-content/plugins/. - Activate it.
- The blocks appear in the editor under the BlockCrate category.
BlockCrate needs WordPress 6.4 or newer and PHP 8.1 or newer.
// Reference
The nine blocks
Two of them — the accordion panel and the tab panel — are inner blocks you will only meet inside their parent.
// Styling
Styling them
There is no second design system to learn. Colour, typography, spacing, borders and shadows come from the editor’s own design tools, so the blocks inherit your theme.json settings and behave the way core blocks do.
Front-end styles are driven by CSS custom properties prefixed --blockcrate-, which a theme can override without reaching for !important.
What happens before the JavaScript loads
The accordion is a native details element.
The carousels are scroll-snap strips.
The progress bar renders at its final value.
The tabs fall back to a plain stack of labelled sections.
A slow connection or a failed asset therefore never leaves a visitor staring at nothing — it leaves them with plain, readable content.
// Accessibility
Accessibility you can rely on
Interactive blocks are keyboard operable and expose the right roles and states.
Decorative graphics are hidden from assistive technology.
Star ratings are announced once, rather than as a row of glyphs.
Every animation is dropped when the visitor prefers reduced motion.
In the pricing table, the highlighted plan says so in words, not only in colour.
// FAQ
Questions
Do the blocks work without JavaScript?
Yes. Every block renders usable content before its view script runs, and the scripts only add enhancements such as dragging a carousel.
Can I style the blocks with my theme?
Yes. They use the editor’s colour, typography, spacing, border and shadow tools, so they inherit theme.json settings.
Will they slow my pages down?
Assets load only on pages where a block is actually used, so a page without BlockCrate carries none of its weight.
What is bundled with the plugin?
Embla Carousel 8.6.0, clsx 2.1.1 and tailwind-merge 3.3.1 — all MIT licensed. React and the @wordpress/* packages are not bundled; they come from WordPress core.
Still stuck?
If something here is wrong or missing, tell us and we will fix it — then write it down for the next person.
