Overview
Manage layout with direction, justify, align and gap.Import
Usage
Live Preview
Run Locally
npm run tsx:core-gallery
Props
- direction?: ‘row’ | ‘column’ — Layout direction (default row).
- gap?: number — Spacing between children (cols/rows).
- justify?: ‘start’ | ‘center’ | ‘end’ | ‘space-between’ | ‘space-around’.
- align?: ‘start’ | ‘center’ | ‘end’ | ‘stretch’.
- BaseProps: container layout/theming props.
Methods
- setDirection(dir), setGap(n), setJustify(v), setAlign(v).
- addChild(el), removeChild(el), reflow().
Installation
Import
Quick Start
Production Examples
Testing
Best Practices
- Reflow dopo aver aggiunto/rimosso figli per riallineare il layout.
