FlexItem

Child of Flex that controls grow and shrink behavior.

Example

Fixed (no shrink)
Grows to fill space
Default

Props

NameTypeDefaultRequiredDescription
growbooleanfalseNoAllows the item to grow and fill available space (flex: 1)
shrinkbooleantrueNoSet to false to prevent the item from shrinking below its content size

Accessibility

  • Renders a plain <div> — no ARIA roles needed