DlSection

Wrap and demarcate content sections

The DlSection block component wraps a content section (typically a heading and the body that follows). It is a plain container with no visual styling of its own.

Usage

If you want an explicit section boundary, use it as a block component.

::dl-section## Section titleSection body goes here.::

You can optionally pass an id to the wrapper.

::dl-section{id="my-section"}## Section titleSection body goes here.::

Props

Here are the properties you can use with the DlSection component. Each property should be set on an individual component instance; they do not affect the global configuration. More about defining properties in MDC components you can read here.

nametypedefaultdescription
idstringundefined

Optional id applied to the root wrapper element.

Slots

namedescription
default

Default slot for the section content.