Documentation Index
Fetch the complete documentation index at: https://docs.lyzn.ai/llms.txt
Use this file to discover all available pages before exploring further.
Box
The Box component is a fundamental layout primitive that provides a flexible container with full control over spacing, sizing, and visual styling.Props
| Prop | Type | Default | Description |
|---|---|---|---|
padding | string | number | - | Padding size: "sm", "md", "lg", "xl" or number |
margin | string | number | - | Margin size: "sm", "md", "lg", "xl" or number |
background | string | - | Background color or gradient |
radius | string | number | - | Border radius: "sm", "md", "lg" or number |
border | string | - | Border style |
shadow | string | - | Shadow size: "sm", "md", "lg", "xl" |
width | number | string | - | Width in pixels or percentage |
height | number | string | - | Height in pixels or percentage |
flex | number | - | Flex grow factor |
align | string | - | Align items: "start", "center", "end" |
justify | string | - | Justify content: "start", "center", "end", "between" |
gap | string | number | - | Gap between children |

