List
Native ordered or unordered content with token spacing and optional markers.
Preview
- Install the matching packages.
- Import the stylesheet.
- Compose with Flood.
Use List
List is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Supply native li children. ordered chooses ol; start/reversed apply only to ordered lists. start must be a safe integer.
- Hiding markers retains an explicit list role for browser/assistive-technology consistency. Content may include links or controls without changing its content-list semantics.
- This is not ListBox, a selection model or a keyboard-navigation engine.
- Available in 0.2.4; use matching installed declarations.
API reference
View TypeScript source