Stack

A flexible stack layout.

Usage

Content 1

Content 2

Content 3

Direction

Content 1

Content 2

Content 3

Size

Small gap

Small gap

Medium gap

Medium gap

Large gap

Large gap

Props

PropTypeDefaultDescription
direction'vertical' | 'horizontal''vertical'The direction of the stack layout.
size'sm' | 'md' | 'lg''md'The gap size between children.
classNamestring-Additional CSS classes to apply.
children*React.ReactNode-The content to display in the stack.