HStack

A horizontal row of children, centred on the cross axis. The kit had no horizontal primitive, so every app wrote its own flex block: reach for this before a stylex.create.

Source
Pushed apartby justify
Centred on the cross axis

API reference

function HStack<T extends ElementType = 'div'>({
  as,
  gap,
  align,
  justify,
  wrap,
  xstyle,
  animate,
  ...props
}: HStackProps<T>)

Related components