is | string | object | Sets the rendered element type (default: div). |
join | boolean | Adds the join-item class for grouped UIs. |
flex | boolean | Enables flex display (flex). |
flex1 | boolean | |
flexAuto | boolean | Applies flex-auto utility. |
flexInitial | boolean | Applies flex-initial utility. |
none | boolean | Applies flex-none utility. |
direction | string | |
| row | boolean | Shortcut for direction="row". |
| col | boolean | Shortcut for direction="col". |
| reverse | boolean | Reverses the direction (used with row or col). |
wrap | boolean | Applies flex-wrap utility. |
nowrap | boolean | Applies flex-nowrap utility. |
wrapReverse | boolean | Applies flex-wrap-reverse utility. |
grow | boolean | Applies flex-grow utility. |
justify | string | Sets horizontal alignment of children to one of the below props. |
| justifyStart | boolean | Aligns items to the start of the main axis (justify-start). |
| justifyEnd | boolean | Aligns items to the end of the main axis (justify-end). |
| justifyCenter | boolean | Centers items along the main axis (justify-center). |
| justifyBetween | boolean | Distributes items evenly along the main axis with the first item at the start and the last item at the end (justify-between). |
| justifyAround | boolean | Distributes items evenly along the main axis with equal space around each item (justify-around). |
| justifyEvenly | boolean | Distributes items evenly along the main axis with equal space between and around each item (justify-evenly). |
items | string | Sets alignment of children along the cross axis (perpendicular to flex direction) using Tailwind's items-* utilities. |
| itemsStart | boolean | Aligns items to the start of the cross axis (items-start). |
| itemsEnd | boolean | Aligns items to the end of the cross axis (items-end). |
| itemsCenter | boolean | Centers items along the cross axis (items-center). |
| itemsBaseline | boolean | Aligns items along their baselines (items-baseline). |
| itemsStretch | boolean | Stretches items to fill the container along the cross axis (items-stretch). |