# Box ## Examples ### Default ```html
Slot
``` ### PaddingVariants ```html
${["none", "xxs", "xs", "s", "m", "l", "xl", "xxl"].map( (spacing) => html`
Spacing: ${spacing}
` )}
``` ### WidthVariants ```html
${["default", "narrow", "medium", "wide"].map( (width) => html`
Width: ${width}
` )}
``` ### BackgroundVariants ```html
${["default", "raised", "transparent"].map( (background) => html`
Background: ${background}
` )}
``` ## Usage **Use Box to:** - Encapsulate content to provide a structured and consistent layout. - Ensure padding around enclosed content. - Create reusable layout components, such as cards, containers, and wrappers. - Enhance visual clarity by applying background colors, borders, or padding. - Maintain consistent responsiveness by adapting to its content or parent layout constraints. **Do not use Box to:** - Apply arbitrary styling that should be handled by higher-level layout components. - Replace more semantic HTML elements like `
`, `
`, or `