/

Box


Box is an abstract component meant for boosting the productivity. It accepts various parameters altering its appearance including: background, border, color, display, position, shadow, space, typography.

Component

Enough talking. Let's create something using it. Let it be a Card component.

My new favorite card

Cool.

import { Box } from 'insites-ui'

<Box
  backgroundColor="#ffffff"
  boxShadow="0 0.5rem 1rem rgba(0, 0, 0, 0.05)"
  borderRadius="0.5rem"
  padding="2rem"
>
  ...
</Box>
Edit on GitHub