tuil
ReferenceComponentsLayout and panes

Sidebar

Sidebar component API, behavior, and executable example.

View rawEdit

Loading executable example…

API and events

Build capability-aware rows, columns, bounded containers, split panes, and keyboard-resizable regions.

export const Sidebar: typeof Box;

Props, functions, and events

This declaration has no public members.

ResizablePane reports size changes through onSizeChange; other layout components are passive.

Callback props run after the documented input is accepted. Callbacks are not cancellable unless their return type or description states otherwise.

Interaction and capabilities

Resizable panes consume scoped arrow-key input while passive layout primitives only project Ink layout props.

The published manifest records keyboard, focus, pointer, theme, terminal, semantic, event, and dependency requirements.

Complete import

import { Sidebar } from "@/components/tuil/primitives/box";

On this page