TFlexDirection
type
Layout & Sizing
CSS flex-direction values accepted by <OrigamRow> and other flex containers. Drives the direction child items flow along the main axis.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- column
- Items are stacked vertically, top to bottom.
- column-reverse
- Items are stacked vertically in reverse — bottom to top.
- row
- Default. Items are laid out horizontally, left to right (in LTR contexts).
- row-reverse
- Items flow horizontally in reverse — right to left in LTR contexts.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Vertical column layout
Reversed row (RTL simulation)