Skip to main content

Flex

Import

import { Flex } from "@sparrowengg/twigs-react";

Flex is a wrapper around HTML element div, but comes with flexbox properties.

Usage

Result
Loading...
Live Editor

Props

PropertyDescriptionTypeDefault
flexDirectionrow
justifyContentnormal
alignItemsnormal
alignContentnormal
justifyItemslegacy
wrapnowrap
grow0
gap
shrink1
flow
basisauto