--- title: oh-toggle-item - Toggle List Item component: oh-toggle-item label: Toggle List Item description: Display a toggle switch in a list source: https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-toggle-item.md prev: /docs/ui/components/ --- # oh-toggle-item - Toggle List Item [[toc]] Display a toggle switch in a list ## Configuration ### List Item
General settings of the list item Title of the item Subtitle of the item Text to display on the opposite side of the item (set either this or a badge) Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon) or material:iconName (Material icon) Not applicable to openHAB icons Use the state of the item to get a dynamic icon (for openHAB icons only)
### Toggle
Item to control Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black)