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.
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
IconButtonA toolbar button that is only a symbol: the plus, the chevrons, the sidebar toggle. `plain` sits on the bar, `tinted` is a rounded square over `fill`, `round` is the small circle a stepper uses. The label is required because the glyph is decorative.LargeTitleThe existing 34-point large app title. It wraps naturally at cover width.ListSemantic list. Use Row as="li" for direct children, or place Sections inside list items.