Use this component as a layout primitive to add margin, padding, and colors to content.
import { Box } from '@marvelapp/ui';
<Box bg="steel" color="white" p={50}>
Boom
</Box>
Props (Layout)
visible
hidden
scroll
auto
initial
inherit
visible
hidden
scroll
auto
initial
inherit
Props (Color)
Props (Typography)
normal
nowrap
pre
pre-line
pre-wrap
initial
inherit
Props (Space)
Props (Flexbox)
Props (Grid)
Props (Border)
Props (Position)
Props (Shadow)
Props (Opacity)
Props (Other)
alias
all-scroll
auto
cell
context-menu
col-resize
copy
crosshair
default
e-resize
ew-resize
grab
grabbing
help
move
n-resize
ne-resize
nesw-resize
ns-resize
nw-resize
nwse-resize
no-drop
none
not-allowed
pointer
progress
row-resize
s-resize
se-resize
sw-resize
text
URL
vertical-text
w-resize
wait
zoom-in
zoom-out
initial
inherit