# ToolbarItem

Xojo provides a <span class="title-ref">ToolbarItem</span> control for desktop, mobile and web projects:

- `DesktopToolbarItem</api/user_interface/desktop/desktoptoolbaritem>`
- `WebToolbarItem</api/user_interface/web/webtoolbaritem>`

<div class="note">

<div class="title">

Note

</div>

For mobile toolbars, this functionality can be found in the `MobileToolbarButton</api/user_interface/mobile/mobiletoolbarbutton>` class.

</div>

## Common members

These properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

### Properties

| Name    | Description                                                                                                                          |
|---------|--------------------------------------------------------------------------------------------------------------------------------------|
| Caption | The text of the item.                                                                                                                |
| Enabled | If `True</api/language/true>`, the item is enabled.                                                                                  |
| Icon    | The icon for the item. For desktop projects, see the `DesktopToolbarButton</api/user_interface/desktop/desktoptoolbarbutton>` class. |
| Tooltip | Additional text that appears when you hover over the item. Not supported for mobile projects.                                        |

<div class="seealso">

`DesktopToolbarItem</api/user_interface/desktop/desktoptoolbaritem>` and `WebToolbarItem</api/user_interface/web/webtoolbaritem>`

</div>
