# Sandbox.UI.Construct.PanelCreator

Used for [Sandbox.UI.Panel.Add](/api/Sandbox.UI.Panel/Add) for quick panel creation with certain settings. Other panels types are added via extension methods.

- Kind: struct
- Namespace: `Sandbox.UI.Construct`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Fields

- [`panel`](/api/Sandbox.UI.Construct.PanelCreator/panel): The panel to add children to.

## Methods

- [`Icon`](/api/Sandbox.UI.Construct.PanelCreator/Icon): Create and return an icon (panel) with given icon and optionally given CSS classes.
- [`Image`](/api/Sandbox.UI.Construct.PanelCreator/Image): Create an image with given texture and CSS classname.
- [`Label`](/api/Sandbox.UI.Construct.PanelCreator/Label): Create a simple text label with given text and CSS classname.
- [`Panel`](/api/Sandbox.UI.Construct.PanelCreator/Panel): Add a new blank panel as a child.
- [`ScenePanel`](/api/Sandbox.UI.Construct.PanelCreator/ScenePanel)
