Single Directory Components: Block
✨ Write Single Directory Components, and get blocks for free! ✨
This module lets you put Single Directory Components
in the page using blocks. This includes the regular block layout, layout
builder, and any other tool that renders blocks in a page.
Watch the video tutorial
3 min 📹 Tutorial to put an SDC Block on the page
Configurable blocks
This module will provide one block type for each component tagged using SDC
Tagging. A configuration form will be auto-generated for your block, even if
your component uses props or contains slots. No additional effort required.
Note in the screenshot above that the component contains one string property
called Heading. It also contains one slot called card_body.
Token support
When a site builder puts a block on a page that contains a node, then they
can use the node information in the CL Block using tokens. Access the node
content (and its relationships) using tokens. For instance: [node:title].
UI Suite
SDC Block is direct and simple implementation, check out UI Suite for a more complete and nuanced solution.
For more information read #3482586: Comparison with UI Patterns module.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-beta2 | Pre-release | Nov 29, 2023 | ||
| 1.x-dev | Dev | Nov 3, 2023 | ||
| 1.0.0-beta1 | Pre-release | Nov 3, 2023 |