Skip to main content

Flex Shrink

Atomic props for controlling how flex items shrink.

Atomic PropsCSS Properties
flexShrink={value}flex-shrink: {value}

Shrink

Use flexShrink={1} to allow a flex item to shrink if needed.

Result
Loading...
Live Editor

Don't shrink

Use flexShrink={0} to prevent a flex item from shrinking.

Result
Loading...
Live Editor