k8ordo
  • UI
  • Form
  • State
  • Router
  • Static
  • Server
ダークモードに切り替え
  • Get Started
  • Theming
  • i18n
  • Components
  • Hooks
  • Helpers
  • AI
ナビゲーションを開く
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

Baselineに入った機能を、制限なく使うReactのライブラリ群。

パッケージ
  • @k8ordo/ui
  • @k8ordo/form
  • @k8ordo/state
  • @k8ordo/router
  • @k8ordo/static
  • @k8ordo/server
UI
  • Get Started
  • Theming
  • i18n
  • Components
  • Hooks
  • Helpers
  • AIチャット
  • Generative UI
  • AIエージェント
  • Storybook
リソース
  • GitHub
  • npm

© 2026 k8o — MIT License

組版 — 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

子要素を縦または横に等間隔で並べるレイアウトプリミティブ

Storybookで確認

インポート

使い方

縦書きプレビューに切り替え
ActivePendingError

方向

縦書きプレビューに切り替え
ActivePendingError
ActivePendingError

間隔

縦書きプレビューに切り替え
gap=noneABC
gap=smABC
gap=mdABC
gap=lgABC
gap=xl

整列と分配

縦書きプレビューに切り替え
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?

型ベース(内部で固定する一部attrsは除外): 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>