Flex

How to get Flex?

JavaScript

import { Flex } from 'fds/components';

One of the two basic layout container components (the other is Block).

Flex is intended to be used as an easy intermediate component when declaring the layout of a custom component. It layouts its children using CSS' (inline) flex flow and can be customized with commonly used props or if need be, with custom styles through its 'applyCss' prop.