Alpha: Ships on npm at 7.0.0-alpha.07.0.0-alpha.0

Section

A section is a kind, a shell and one Section type: the kind places it among its neighbors, and the shell paints behind it.

startupbuilder.dev defines
A Component is a named block of a Page, such as a hero, a pricing table, or a form, filled from records through typed props.
Component startupbuilder.dev

A section is one entry of a Page's sections: { kind, shell, block }. The block is one Section type, the mdxui drawing of a Component.

What mdxui renders

The same feature-grid record on the four surface values of its shell. The record does not change; only the paint behind it does.

paperopen
tintopen
plateopen
glassopen

The kind picks the section's landmark and the divider before it, so no record names an element.

Shell fieldValuesRequired
idstring, pattern ^[a-z][a-z0-9-]{0,23}$no
inset"contained" | "bleed" | "article" | "listing"yes
density"none" | "section" | "compact" | "hero" | "closing" | "footer" | "access" | "article" | "listing"yes
surface"paper" | "tint" | "plate" | "glass"no
background"none" | "dots" | "grain" | "glow"no
stickybooleanno
asidebooleanno

A Section type never paints itself: the shell carries the surface, the background, the inset and the density. A sticky bar names its surface, so it stays opaque.

How it maps

Component mdxuiAlpha: Renders today from the published packages 6Gap: No counterpart in the record; the intended Noun drafts one 2
startupbuilder.devmdxui todayStatus
nameblock.type, one of 27 Section types; Pricing is drawn by pricingAlpha: Renders today from the published packages
propsThe block fields: every string bounded, every list countedAlpha: Renders today from the published packages
region: headernavkind: nav, the bar a page opens withAlpha: Renders today from the published packages
region: sectionkind: hero, band, section, article or closingAlpha: Renders today from the published packages
region: footerfooterkind: footer, the last section of every pageAlpha: Renders today from the published packages
region: noticeNo notice Section type. kind: bar opens a page in place of nav, and no worked Site uses itGap: No counterpart in the record; the intended Noun drafts one
interactiveNo script beyond copy buttons: faq opens with details, terminal switches with radio inputsAlpha: Renders today from the published packages
filled from recordsLiteral props, written by the agent from the recordsGap: No counterpart in the record; the intended Noun drafts one

Sections inside a section

Four Section types hold others in their specimen field: hero, feature-split, steps and closing, one to three each. A bento panel holds exactly one terminal, agent-prompt or api-call. Nesting stays data: a slot holds records, never markup.

The section head

SectionHeadSchema is the head most Section types share: an eyebrow, an optional title and lede, a scale and a split layout. The eyebrow is required, and a head needs a title or a lede.

Status

Every field above parses and renders in @mdxui/site@7.0.0-alpha.0. The one gap is the binding: a section takes literal words, not a record to read them from.

On this page