Skip to main content

Flex

Atomic PropsCSS Properties
flexAutoflex: 1 1 auto;
flexInitialflex: 0 1 auto;
flexNoneflex: 'none'
flex={value}flex: {value}

Flex Initial

Use flexInitial props to allow a flex item to shrink but not grow, taking into account its initial size.

Result
Loading...
Live Editor
Result
Loading...
Live Editor

Flex None

Use flexNone props to prevent a flex item from growing or shrinking.

Result
Loading...
Live Editor

Any Value

Use flex={value} to set any flex value.

Result
Loading...
Live Editor