k8ordo
  • UI
  • Form
  • State
  • Router
  • Static
  • Server
Switch to dark mode
  • Get Started
  • Theming
  • i18n
  • Components
  • Hooks
  • Helpers
  • AI
Open navigation
Buttons
  • Button
  • IconButton
Navigation
  • Anchor
  • Tabs
  • Breadcrumb
  • Pagination
Forms
  • TextField
  • Textarea
  • NumberField
  • Select
  • Checkbox
  • CheckboxCard
  • CheckboxGroup
  • Switch
  • PasswordInput
  • Radio
  • RadioCard
  • Autocomplete
  • Slider
  • FileField
  • FormControl
  • Form
Data Display
  • Accordion
  • Avatar
  • Badge
  • Card
  • Code
  • Table
  • Heading
Feedback
  • Alert
  • Skeleton
  • Spinner
  • Toast
  • Progress
Overlays
  • Dialog
  • Drawer
  • Modal
  • Popover
  • DropdownMenu
  • Tooltip
  • ListBox
Layout
  • Stack
  • Grid
  • Separator
  • ScrollLinked
Media
  • Icons
k8ordo

React libraries that use Baseline features without holding back.

Packages
  • @k8ordo/ui
  • @k8ordo/form
  • @k8ordo/state
  • @k8ordo/router
  • @k8ordo/static
  • @k8ordo/server
UI
  • Get Started
  • Theming
  • i18n
  • Components
  • Hooks
  • Helpers
  • AI Chat
  • Generative UI
  • AI Agents
  • Storybook
Resources
  • GitHub
  • npm

© 2026 k8o — MIT License

Typeset in Noto Sans JP & M PLUS 2

Components

Buttons
  • Button
  • IconButton
Navigation
  • Anchor
  • Tabs
  • Breadcrumb
  • Pagination
Forms
  • TextField
  • Textarea
  • NumberField
  • Select
  • Checkbox
  • CheckboxCard
  • CheckboxGroup
  • Switch
  • PasswordInput
  • Radio
  • RadioCard
  • Autocomplete
  • Slider
  • FileField
  • FormControl
  • Form
Data Display
  • Accordion
  • Avatar
  • Badge
  • Card
  • Code
  • Table
  • Heading
Feedback
  • Alert
  • Skeleton
  • Spinner
  • Toast
  • Progress
Overlays
  • Dialog
  • Drawer
  • Modal
  • Popover
  • DropdownMenu
  • Tooltip
  • ListBox
Layout
  • Stack
  • Grid
  • Separator
  • ScrollLinked
Media
  • Icons

Stack

Layout primitive that arranges children in a row or column with consistent gaps.

View in Storybook

Import

Usage

ActivePendingError

Direction

ActivePendingError
ActivePendingError

Gap

gap=noneABC
gap=smABC
gap=mdABC
gap=lgABC
gap=xl

Align & justify

LCR

Props

align?
Type: 'start'|'center'|'end'|'stretch'
Default: -
children?
Type: ReactNode
Default: -
direction?
Type: 'row'|'column'
Default: 'column'
gap?
Type: GapSize
Default: 'md'
justify?
Type: 'start'|'center'|'end'
A
B
C
|
'between'
Default: -
padding?
Type: PaddingSize
Default: -
PropTypeDefault
align?'start'|'center'|'end'|'stretch'-
children?ReactNode-
direction?'row'|'column''column'
gap?GapSize'md'
justify?'start'|'center'|'end'|'between'-
padding?

Type base (some attrs are managed internally): HTMLAttributes<HTMLDivElement>

PaddingSize
-
import { Stack } from '@k8ordo/ui';
<Stack direction="row" gap="sm">
  <Badge label="Active" tone="success" />
  <Badge label="Pending" tone="warning" />
  <Badge label="Error" tone="error" />
</Stack>
<Stack direction="column" gap="sm">…</Stack>
<Stack direction="row" gap="sm">…</Stack>
<Stack direction="row" align="center" justify="between">…</Stack>
<Stack direction="row" gap="none|sm|md|lg|xl">…</Stack>