• FRAMEWORK

Utilities

Flex

Flex

Flex utilities allow you to control flex-direction, justify-content, and align-items properties with responsive support.

Note: Default (xs) classes have no breakpoint suffix. Use -sm, -md, -lg for responsive variants.
Flex Direction
ClassProperty
.fo-flex-direction-rowflex-direction: row;
.fo-flex-direction-row-reverseflex-direction: row-reverse;
.fo-flex-direction-columnflex-direction: column;
.fo-flex-direction-column-reverseflex-direction: column-reverse;
Justify Content
ClassProperty
.fo-justify-content-flex-startjustify-content: flex-start;
.fo-justify-content-centerjustify-content: center;
.fo-justify-content-flex-endjustify-content: flex-end;
.fo-justify-content-space-betweenjustify-content: space-between;
.fo-justify-content-space-aroundjustify-content: space-around;
.fo-justify-content-space-evenlyjustify-content: space-evenly;
Align Items
ClassProperty
.fo-align-items-flex-startalign-items: flex-start;
.fo-align-items-centeralign-items: center;
.fo-align-items-flex-endalign-items: flex-end;
.fo-align-items-stretchalign-items: stretch;
.fo-align-items-baselinealign-items: baseline;
Legacy Center Helpers

These are shorthand classes combining justify-content and align-items for quick centering. They remain for backward compatibility but new code should use the explicit utilities above.

ClassEffect
.fo-center-centerCenter horizontally & vertically
.fo-center-topCenter horizontally, align top
.fo-center-bottomCenter horizontally, align bottom
.fo-center-stretchCenter horizontally, stretch vertically
.fo-center-space-betweenSpace between horizontally, align center vertically
.fo-center-space-aroundSpace around horizontally, align center vertically
Examples