projects/ui/layout/stack.component.ts
import { CngxStack } from '@cngx/ui/layout'
Composable flex-based stack layout component.
Gap tokens use CSS custom properties (--cngx-gap-xs through --cngx-gap-xl) with sensible fallback defaults. Override them at any scope to match your application's spacing scale.
--cngx-gap-xs
--cngx-gap-xl
cngx-stack
ChangeDetectionStrategy.OnPush
StackAlign
Cross-axis alignment of stack items.
'stretch'
StackDirection
Flex direction of the stack.
'column'
StackGap
Named spacing token between stack items. Resolves via --cngx-gap-* CSS custom properties.
--cngx-gap-*
'md'
[style.flex-direction]
direction()
[style.align-items]
alignItems()
[style.gap]
gapValue()