Box
Generic wrapper component with configurable padding.
Basic Usage
Box adds configurable padding around any content.
Content with 1.5rem padding
Padding Sizes
Compare different padding values from small to large.
0.5rem
1rem
2rem
Nested in Card
Add extra padding inside a Card for emphasis or visual separation.
Box adds extra padding inside a Card
Section Wrapper
Use Box to create padded sections within a page layout.
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
padding | string | "0" | CSS padding value |
children | content | - | Content to wrap |