Stack
Vertical flow with a token gap.
beta
API
import Stack from '@tcpsystems/ui/foundation/Stack';| Prop | Type | Default |
|---|---|---|
as? | string | 'div' |
gap? | string | none |
min? | string | none |
width? | string | none |
justify? | string | none |
children? | native | none |
| Hook | Kind |
|---|---|
.tcp-stack | Root class |
data-gap | Data attribute |
data-justify | Data attribute |
data-min | Data attribute |
data-width | Data attribute |