# Box A versatile container used to provide layout and styling capabilities with configurable padding, margin, radius, and roundness. ```jsx featured Content inside a Box ``` ```css preview .lcs-box { /* border-color: rgb(var(--border-color)); */ } ``` [View Source](https://github.com/LocusInc/locus-ui/tree/main/packages/locus-ui/src/components/box) ## Anatomy ```jsx code no-header ``` ## Examples Box components are used to provide a styled wrapper for other components. Boxes use the theme settings by default, and can be specified as needed. ### Radii The `radius` prop controls the border-radius of the element using predefined scale values: `none`, `xs`, `sm`, `md`, `lg`, `xl`, `full`. ```jsx {["none", "xs", "sm", "md", "lg", "xl", "full"].map((radius) => ( {radius} ))} ``` ### Roundness The `roundness` prop sets a multiplier for the element's radius: `1` through `6`. ```jsx {["1", "2", "3", "4", "5", "6"].map((number) => ( {number} ))} ``` ### Padding The `p` prop controls padding on all sides using predefined scale values `0` through `8`. ```jsx {["0", "1", "2", "3", "4", "5", "6", "8"].map((p) => ( {p} ))} ``` ### Margin The `m` prop controls margin on all sides using predefined scale values `0` through `8`. ```jsx {["0", "1", "2", "3", "4", "5", "6", "8"].map((m) => ( {m} ))} ```