SHIFT + D

Filter by package

  • Overview
  • Ancestor variants
  • Composition
  • Edge
  • Features
  • Linear numeric
  • Logic
  • Prose
  • Source transform
  • SPA links
  • Utilities

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
classes
String
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

ListTable

Edit doc on GitHub

ON THIS PAGE

SectionExampleMarkdown:Rendered:PropsStructureAPI design compliance