Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Flex

Flex is a component that sets flex to Box. Also, convenient style shorthand is available.

Source@yamada-ui/layouts

Props

FlexProps

align

Description

The CSS align-items property.

Type

UIValue<AlignItems>

basis

Description

The CSS flex-basis property.

Type

UIValue<number | "content" | "px" | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {}) | ... 69 more ... | "fit-content">

direction

Description

The CSS flex-direction property.

Type

UIValue<FlexDirection>

grow

Description

The CSS flex-grow property.

Type

UIValue<FlexGrow>

justify

Description

The CSS justify-content property.

Type

UIValue<JustifyContent>

shrink

Description

The CSS flex-shrink property.

Type

UIValue<FlexShrink>

wrap

Description

The CSS flex-wrap property.

Type

UIValue<FlexWrap>

Edit this page on GitHub

PreviousContainerNextWrap