Align Self

Override the parent's alignItems for a specific item.

The alignSelf property allows the default alignment (or the one specified by alignItems) to be overridden for individual flex items.

Values

ValueDescription
AutoDefault. Inherits the parent's alignItems value.
StretchItem stretches to fill the container's cross size.
FlexStartItem aligns to the start edge.
FlexEndItem aligns to the end edge.
CenterItem aligns in the center.
BaselineItem aligns based on its baseline.

Example

Loading Preview…

Next Steps

© 2026 ByteLand Technology Limited