IDirectionProps

interface
Layout & Sizing

Direction contract — exposes a single `direction` prop (horizontal / vertical) consumed by layout-aware components such as Tabs, Divider, InfiniteScroll and SlideGroup.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

direction
TDirection
Layout axis — typically "horizontal" or "vertical". Defaults to the component's natural axis when omitted.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Extending the interface on a layout component

typescript