Renders a box with optional padding and/or borders.
A box has even padding and borders on each side. If you need padding and borders on only one or some sides then you don’t have a box.
<.box padding="2xs" border="sm"> I'm the content! </.box>
A secondary box with only its top padding overridden
Additional classes to add to the parent.
Applies the primary border color, radius and padding
Applies the secondary border color, radius and padding
Applies the tertiary border color, background color, radius and padding
Applies the card surface: body border color, radius and the primary light
background. Cards have no padding of their own, so set padding.
padding
The padding on every side. The primary, secondary and tertiary variants
keep their own padding unless this is set.
The border width
<.p>A secondary box with only its top padding overridden</.p>