JustFlows

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.*).

Content and media
TypeTitleCategoryMain props
core.paragraphParagraphcontentrichtext text
core.headingHeadingcontenttext, level 1–6 (default 2)
core.quoteQuotecontentrichtext text, attribution
core.buttonButtoncontentlabel and href (sanitized)
core.htmlHTMLcontentsanitized HTML
core.codeCodecontentcode listing
core.imageImagemediasrc (media), alt, caption
core.embedEmbedmediaembed URL
Layout
TypeTitleNotes
core.dividerDividerHorizontal rule.
core.spacerSpacerVertical space.
core.sectionSectionChildren wrapper.
core.containerContainerWidth-constrained children.
core.groupGroupGeneric children group.
core.columnsColumnsChildren should be core.column.
core.columnColumnOne column inside columns.
Sections
TypeTitleUse
core.heroHeroPage intro band.
core.featuresFeaturesFeature grid.
core.ctaCall to ActionClosing conversion band.

Good to know

Images use loading="lazy" and safeMediaSrc. Buttons and embeds refuse unsafe URLs. Custom HTML is sanitized, not blindly echoed.