Skip to content
Radicle
v1.3.2

Blocks

Radicle comes with a the following blocks:

  • A basic block example
  • A modal block that is rendered with a Blade component and uses Alpine.js

The Radicle roadmap includes more editor examples for additional blocks and editor plugins

If you are building a block that will be used across multiple projects/sites, we recommend building them as separate packages/plugins. If you are building a block that is specific to your Radicle-based site, then we recommend getting started with the example blocks that are included in Radicle.

While it's usually recommended to build editor functionality separate from your WordPress theme, Radicle blurs the lines of what a WordPress theme is — you will never need to edit anything from the theme directory (public/content/themes/radicle/).

Asset locations

Blocks live in the resources/scripts/editor/ directory.

They are automatically registered from radicle/resources/scripts/editor.ts.

Radicle uses the @roots/bud-preset-wordpress extension from bud.js for registering blocks.

Last updated

Support Roots

Help us continue to build and maintain our open source projects. We’re a small team of independent developers and every little bit helps.

Sponsor Roots on GitHub