cel-tui
    Preparing search index...

    Function HStack

    • Create a horizontal stack container — children laid out left to right.

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

      Parameters

      • props: ContainerProps

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

      • children: Node[]

        Ordered child nodes.

      Returns ContainerNode

      A container node for the UI tree.

      HStack({ height: 1, gap: 1 }, [
      Text("Name", { bold: true }),
      VStack({ flex: 1 }, []),
      Text("value", { fgColor: "color08" }),
      ])