cel-tui
    Preparing search index...

    Function VStack

    • Create a vertical stack container — children laid out top to bottom.

      Equivalent to CSS flex-direction: column. Main axis is vertical, cross axis is horizontal.

      Parameters

      • props: ContainerProps

        Layout, sizing, scrolling, focus, and interaction props.

      • children: Node[]

        Ordered child nodes.

      Returns ContainerNode

      A container node for the UI tree.

      VStack({ flex: 1, gap: 1 }, [
      Text("Hello"),
      Text("World"),
      ])