@professorragna/flex
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Flex Styled Component

Styled component for the <div> HTML tag, using flexbox properties

Installation

$ npm i @professorragna/flex

Usage

import { Flex } from '@professorragna/flex';

<Flex
  p="10px"
>
  Your content here
</Flex>

The <Flex> styled component supports the following categories of styled props:

  • background
  • border
  • color
  • flexbox
  • layout
  • position
  • shadow
  • space
  • typography

For more information on how to use styled props, see the styled-system docs

Additional Packages

Are you looking for additional styled components for other HTML tags? Feel free to check out the root project here for other packages that are available!

/@professorragna/flex/

    Package Sidebar

    Install

    npm i @professorragna/flex

    Weekly Downloads

    2

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    4.9 kB

    Total Files

    11

    Last publish

    Collaborators

    • professorragna