Documentation is English-only for now. The rest of the site follows your language.
Core blocks
All 18 registered core block types: content, media, layout, and section blocks.
5 min read
Registered in @justflows/blocks and exposed at GET /api/blocks. Type ids are stable (core.*).
| Type | Title | Category | Main props |
|---|---|---|---|
core.paragraph | Paragraph | content | richtext text |
core.heading | Heading | content | text, level 1–6 (default 2) |
core.quote | Quote | content | richtext text, attribution |
core.button | Button | content | label and href (sanitized) |
core.html | HTML | content | sanitized HTML |
core.code | Code | content | code listing |
core.image | Image | media | src (media), alt, caption |
core.embed | Embed | media | embed URL |
| Type | Title | Notes |
|---|---|---|
core.divider | Divider | Horizontal rule. |
core.spacer | Spacer | Vertical space. |
core.section | Section | Children wrapper. |
core.container | Container | Width-constrained children. |
core.group | Group | Generic children group. |
core.columns | Columns | Children should be core.column. |
core.column | Column | One column inside columns. |
| Type | Title | Use |
|---|---|---|
core.hero | Hero | Page intro band. |
core.features | Features | Feature grid. |
core.cta | Call to Action | Closing conversion band. |
Good to know
Images use loading="lazy" and safeMediaSrc. Buttons and embeds refuse unsafe URLs. Custom HTML is sanitized, not blindly echoed.