Split
A responsive main-and-supporting layout with logical pane placement and container-based collapse.
Preview
Main content
Supporting content
Use Split
Split is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- main and aside are content slots in generic div panes; they do not introduce duplicate main landmarks. side places the supporting pane at logical start/end and preserves the same DOM reading order. ratio chooses equal panes or a 2:1 emphasis on main/aside.
- Container queries collapse at sm=30rem, md=48rem or lg=64rem; never retains two columns. gap uses the spacing scale. This is layout composition, with no resizing gesture, saved pane sizes or splitter keyboard model.
- Original compatible addition in the unpublished 0.2.5 source candidate.
API reference
View TypeScript source