A widget is called a UI element, demonstrating a piece of specific data in a way to direct the user’s attention. Control elements like scroll bars or buttons as well as interaction elements, such as checkboxes, labels or chips, are also named widgets.