cel-tui
    Preparing search index...

    Function Spacer

    • Flexible spacer that fills available space along the parent's main axis.

      Equivalent to an empty VStack({ flex: 1 }, []). Use inside an HStack to push siblings apart, or inside a VStack for vertical spacing.

      Returns ContainerNode

      A flex container node that expands to fill remaining space.

      // Push items to opposite ends of a row
      HStack({ height: 1 }, [
      Text("left"),
      Spacer(),
      Text("right"),
      ])