Skip to content
nexubDesign System
v2.4.0

Components · Layout

Stack

StableSince v0.0.1

Vertical stack layout with configurable gap.

import { Stack } from '@nexub/react';

Examples

Default

With dividers

Props

Props
PropTypeDefaultDescription
gap'xs' | 'sm' | 'md' | 'lg' | 'xl''md'Spacing between child elements.
align'start' | 'center' | 'end' | 'stretch'—Cross-axis alignment of children.
dividersboolean—Renders a divider line between each child element.

On iOS & Android