Skip to content
Foundation / Layout

Group

server21.75 kB
@stellaria/nebula-webGroupProps

Preview

Props

7
PropTypeDefault

children

ReactNode

className

Composes with the classes `Box` computes instead of replacing them.

string

component

The element it paints.

(ElementType & C)"div"

gap

Gap between children, horizontal and vertical once they wrap.

SpacingValue"md"

grow

Makes every child take the same share of the width, whatever its content.

booleanfalse

preventGrowOverflow

With `grow`, caps each child so a long one cannot push the row past its container. Turn it off only when you want the row to overflow on purpose. Does nothing without `grow`.

booleantrue

wrap

Wraps children that do not fit onto the next line instead of shrinking them.

booleantrue

Also accepts

On top of its own props, this component forwards these groups.

Style props · 125