
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.
Copyright © 2018-2025 Sea Labs
Prop name | Type | Default | Description |
---|---|---|---|
alignContent | AlignContent | stretch | Equivalent to CSS align-content property. |
alignItems | AlignItems | stretch | Equivalent to CSS align-items property. |
as | any | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
direction | FlexDirection | row | Equivalent to CSS flex-direction property. |
gap | Gap | 0 | Determines spacing (some call it gutter) between child Boxes. If a number is passed, it's used as horizontal only. If a pair of number is passed, it's used as horizontal and vertical respectively. |
justify | JustifyContent | flex-start | Equivalent to CSS justify-content property. |
span | number | 24 | Width of the box. One row can fit at most total of 24 span. More than that, it will wrap to next row, just like a flex. |
wrap | FlexWrap | wrap | Equivalent to CSS flex-wrap property. |
Copyright © 2018-2025 Sea Labs