# FlexItemSetProps

**Kind:** Interface

Style props for a flex item element.

## Properties

### `alignSelf?`

Type: `OptionalResponsiveProp<AlignSelfProperty>`

Aligns flex items of the current flex line, overriding the `alignItems` value.

### `flex?`

Type: `OptionalResponsiveProp<FlexProperty<Length>>`

Sets how a flex item will grow or shrink to fit the space available in its flex container. It is a shorthand for `flexGrow`, `flexShrink`, and `flexBasis`.

### `flexBasis?`

Type: `OptionalResponsiveProp<FlexBasisProperty<Length>>`

Sets the initial main size of a flex item.

### `flexGrow?`

Type: `OptionalResponsiveProp<GlobalsNumber>`

Sets the flex grow factor of a flex item. If the size of flex items is smaller than the flex container, items grow to fit according to `flexGrow`.

### `flexShrink?`

Type: `OptionalResponsiveProp<GlobalsNumber>`

Sets the flex shrink factor of a flex item. If the size of flex items is larger than the flex container, items shrink to fit according to `flexShrink`.

### `order?`

Type: `OptionalResponsiveProp<GlobalsNumber>`

Sets the order to lay out an item in a flex container. Items are sorted by ascending `order` value and then by their source code order.
