component

Box

The box element is a container with padding and box shadow.


Default box example
  • It's a container so you can easily include other components:

Variables

  :root {
    --box-padding: var(--space-xs, 1.25rem);
    --box-radius : var(--radius-sm, 0.25rem);
    --box-shadow : var(--shadow-sm, 0px 2px 6px rgba(0, 0, 0, 0.25));
  }