API Reference > ui-components > Toolbar > ToolbarButtonItemProps ToolbarButtonItemProps Interface Beta Properties of ToolbarButtonItem component. Extends CommonProps Methods Name Description onClick(): void Optional Function called when the item is clicked. onKeyDown(e: KeyboardEvent<Element>): void Optional Function called when a key is pressed. Properties Name Type Description addGroupSeparator undefined | boolean If true add a gap before button. badge undefined | ReactNode A badge to draw. icon undefined | ReactNode button icon. isActive undefined | boolean Describes if item is active. isDisabled undefined | boolean Describes if the item is disabled. title string Title for the item. Inherited properties Name Type Inherited from Description className undefined | string CommonProps Custom CSS class name style undefined | CSSProperties CommonProps Custom CSS style properties Defined in ui/components/src/ui-components/toolbar/Item.tsx Line 17 Last Updated: 12 June, 2024