--- layout: page title: PCx86 <panel> Element permalink: /docs/pcx86/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](../computer/)*, *[CPU](../cpu/)*, *[Keyboard](../keyboard/)* and/or *[Debugger](../debugger/)* components. Attributes ---------- None. Bindings -------- Refer to available bindings in the *[Computer](../computer/)*, *[CPU](../cpu/)*, *[Keyboard](../keyboard/)* and *[Debugger](../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](..)]