Abstract div element to build components and layouts with.
When bg is set to a recognized white token (e.g. white) or grey token
(e.g. base.lightBackground, base.background, gray.50–gray.200), Box
sets CSS variables on itself that descendant form elements (inputs, selects,
comboboxes, badge inputs, textareas) read to invert their resting background:
See Form Elements for an interactive comparison across surfaces.
Inherits all style props.
On this page