Layouts

Flexbox

Component for building flexible box layouts.

Component props

A Flexbox renders a Box as a child, so it also accepts all Box props.

NameType
displayResponsive<"flex" | "inline-flex" | "none">
directionResponsive<"row" | "column" | "row-reverse" | "column-reverse">
wrapResponsive<"wrap" | "nowrap" | "wrap-reverse">
justifyContentResponsive<"center" | "start" | "end" | "flex-start" | "flex-end" | "left" | "right" | "space-between" | "space-around" | "space-evenly" | "stretch">
justifyItemsResponsive<"center" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "stretch" | "left" | "right" | "baseline">
alignContentResponsive<"center" | "start" | "end" | "flex-start" | "flex-end" | "baseline" | "space-between" | "space-around" | "space-evenly" | "stretch">
alignItemsResponsive<"center" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "stretch" | "baseline">
gapResponsive<Spacing>
gapXResponsive<Spacing>
gapYResponsive<Spacing>
asstring
asChildboolean