BetaPublic beta — Read the release notes
Documentation

Stack

Flex layout primitive with configurable gap, direction, and alignment.

Package
@solidiom/stack
Version
0.6.0
Status
experimental

Generated from the package's public source.

API

Rootcomponent

                        Root(props: StackRootProps): Element
                      

Props

align?
"start" | "center" | "end" | "stretch" | "baseline"
class?
string
direction?
"row" | "column" | "row-reverse" | "column-reverse"
gap?
string | number
inline?
boolean
justify?
"start" | "center" | "end" | "between" | "around" | "evenly"
style?
string | CSSProperties
wrap?
boolean | "wrap" | "nowrap" | "wrap-reverse"

children: Element

View source

StackRootPropsinterface

Props

align?
"start" | "center" | "end" | "stretch" | "baseline"
class?
string
direction?
"row" | "column" | "row-reverse" | "column-reverse"
gap?
string | number
inline?
boolean
justify?
"start" | "center" | "end" | "between" | "around" | "evenly"
style?
string | CSSProperties
wrap?
boolean | "wrap" | "nowrap" | "wrap-reverse"

children: Element

View source