@ds-kit/flex

1.2.0 • Public • Published

title: "Flex" slug: "/packages/flex" category: "layout" componentNames:

  • "Flex"

Flex

The Flex package contains a useful set of components relevant for layout work. It has helper components to create flex.

import Flex from "@ds-kit/flex"
import Div from "@ds-kit/div"

Simple Example

The simplest example of a flex will look like this:

<Flex>
  <Div bg="primary" color="white" p="3rem" mx="1rem">
    First div
  </Div>
  <Div bg="primary" color="white" p="3rem" mx="1rem">
    Second div
  </Div>
  <Div bg="primary" color="white" p="3rem" mx="1rem">
    Third div
  </Div>
</Flex>

Readme

Keywords

none

Package Sidebar

Install

npm i @ds-kit/flex

Weekly Downloads

0

Version

1.2.0

License

LicenseRef-LICENSE

Unpacked Size

7.45 kB

Total Files

8

Last publish

Collaborators

  • hellycat
  • lapidus
  • amytych
  • zimrick