@professorragna/box
v1.0.4
Published
Styled component for the <div> HTML tag, using non-flex properties
Downloads
25
Maintainers
Readme
Box Styled Component
Styled component for the <div>
HTML tag, using non-flex and non-grid properties
Installation
$ npm i @professorragna/box
Usage
import { Box } from '@professorragna/box';
<Box>
Your content here
</Box>
The <Box>
styled component supports the following categories of styled props:
- background
- border
- color
- flexbox
- grid
- 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!