Section
Updated on August 22, 2024
BaleadaProseSection's root element is just a generic section. It comes in handy when you need to contain a few things in a block-level element, maybe with a few CSS classes tacked on so you can add specific styling.
Example
Markdown:
:::
Inspect me! I'm contained in a `section`.
:::
Rendered:
Inspect me! I'm contained in a section.
Props
Prop
Type
Required
Default
Description
classesString
no
none
Adds additional classes to the component's root element.
Structure
Here's the structure of BaleadaProseSection's markup, written in Pug for simplicity:
section.baleada-prose-section
section.baleada-prose-contents
slot // Your blockquote slots in here
API design compliance
[WIP]
Spec
Compliance status
Notes