# Box > AstrolBox is a rectangular Blazor component that can contain other elements, such as text, images or forms. It is commonly used to organize and structure the web layout. Source page: https://doc.astrolui.com/basic-component/box ## 1. Demo AstrolBox ```razor @using Astrol.Entities.Basic.UI @using Astrol.Component.Basic.Box Base White Black Blue Green Orange Red Yellow Purple Base White Black Blue Green Orange Red Yellow Purple

Hello World!

``` ## Hello World! ### Supported parameters - **ChildContent** (RenderFragment?): HTML content of the box. - **Style** (AstrolStyle): color of the box (default is **AstrolStyle.Base**). - **Base** (enum) - **White** (enum) - **Black** (enum) - **Red** (enum) - **Orange** (enum) - **Green** (enum) - **Blue** (enum) - **Yellow** (enum) - **Purple** (enum) - **Outline** (bool): shows the box without fill, only with the border and text in the chosen color (default is **false**). - **BorderRadius** (string): border radius of the box (default: the theme radius, **6px**). - **Class** (string?): additional CSS class (not required). - **AdditionalClasses** (IEnumerable?): additional CSS classes added together with **Class** (not required). - **OnClick** (EventCallback): action when the box is clicked (not required). The box is a **div**: it cannot receive focus or be activated with the keyboard, so use **AstrolButton** for actions.