--- layout: page title: PCx86 <panel> Element permalink: /docs/pcx86/panel/ redirect_from: - /docs/pcjs/panel/ --- PCx86 Control Panel Component --- Format --- ```xml ... ``` Purpose --- Creates an instance of the Control Panel component, which simply acts as a container for controls that the machine wants to bind to the *[Computer](/docs/pcx86/computer/)*, *[CPU](/docs/pcx86/cpu/)*, *[Keyboard](/docs/pcx86/keyboard/)* and/or *[Debugger](/docs/pcx86/debugger/)* components. Attributes --- None. Bindings --- Refer to available bindings in the *[Computer](/docs/pcx86/computer/)*, *[CPU](/docs/pcx86/cpu/)*, *[Keyboard](/docs/pcx86/keyboard/)* and *[Debugger](/docs/pcx86/debugger/)* components. Example --- ```xml Control Panel control type="text" class="input" binding="debugInput" width="360px"/> Enter Clear ``` See [/devices/pcx86/panel/default.xml](/devices/pcx86/panel/default.xml) for a more complete example. Output --- ```html
``` Also, if any controls are defined, another <div> of class="pc-controls" is created in the container <div>, with each control inside a <div> of class="pc-control". [Return to [PCx86 Documentation](..)]