v0.1 public beta early access on GitHub
Home / Components / stack

StackAndroid

VStack/HStack layout with gap scale.

$ npx lumioui add stack
import { VStack, HStack, Spacer, Box } from "@/components/ui/stack/stack";
Parts: VStack · HStack · Spacer · Box
Props4
gap? number Gap between children in px (applied via style for reliability).
align? Align Cross-axis alignment.
justify? Justify Main-axis distribution.
className? string
Stack — Boxbox.tsx
stack/variants/box.tsx open

VStack/HStack layout with gap scale.

Stack — Hstackhstack.tsx
stack/variants/hstack.tsx open

VStack/HStack layout with gap scale.

Stack — Vstackvstack.tsx
stack/variants/vstack.tsx open

VStack/HStack layout with gap scale.