Browse Definitions :


What is a widget?

In computing, a widget is an element of a graphical user interface that displays information or provides a specific way for a user to interact with the operating system (OS) or an application.

Widgets include the following:

  • icons;
  • pull-down menus;
  • buttons;
  • selection boxes;
  • progress indicators;
  • on-off checkmarks;
  • scroll bars;
  • windows;
  • window edges that let you resize the window;
  • toggle buttons; and
  • devices for displaying information and inviting, accepting and responding to user actions.

More generally, the term widget is used to mean to any discrete object, usually of a mechanical nature and relatively small size. The term commonly is used to refer to gadgets that don't have a name or where someone can't remember the name.

According to Eric Raymond, compiler of The New Hacker's Dictionary: "Legend has it that the original widgets were holders for buggy whips," but this was possibly written tongue-in-cheek.

Example of Android widgets
Widgets on this Android phone provide information on time, date and weather.

Widgets on smartphones

On both Apple iOS and Android devices, widgets present specific data that resides in an application running in the device. Each widget on an iPhone or other smartphone display presents selected bits of information that reside in the associated applications.

For example, a user might wish to see baseball scores for only one team. The widget extracts the selected data from the app and displays it on the screen. Or a user might not want to read a detailed weather forecast, but would rather see only the key data points, such as the temperature and forecast. Weather data is compiled in a weather app and regularly updated. The weather widget is programmed to display only the specific data the user wants.

Diagram of how widgets work on a smartphone
Two examples of how widgets pull information from an application to show a smartphone user only what they want to see

Widgets in computing

In computing, the term widget was first used in Unix-based OSes and the X Window System. In object-oriented programming, each type of widget is defined as a class or a subclass under a broad generic widget class and is always associated with a particular window. In the AIX Enhanced X-Window toolkit, a widget is the fundamental data type.

Most, if not all, application development languages, such as Java and Tool Command Language, come with a library of widgets that a programmer can incorporate and modify. Using Microsoft Visual Basic, a widget can be implemented as or part of an ActiveX control.

Widgets in programming

In programming, widget also means the small program that is written to describe what a particular widget looks like, how it behaves and how it responds to user actions. Most OSes have a set of ready-to-tailor widgets that programmers can incorporate in an application, specifying how it is to behave. Developers can also create new widgets as they are needed.

Annotated screenshot of widgets on a webpage
This annotated version of a QuickBooks webpage shows how a micro front-end user interface uses widgets for independent services.

How do widgets add value?

On websites, widgets can facilitate an interactive user experience. By making it easy to navigate a website, widgets increase site traffic and capture customer data that can be used for product development and customer service purposes. Data gleaned from user interactions with widgets on websites is analyzed to improve business planning and decision-making.

Widgets encourage website visitors to stay on a webpage, rather than switch to another site, which helps increase click-through rates, expose users to other parts of a company's website and product offerings, and improve search engine performance and rankings.

Other ways developers can add widgets to engage customers include the following:

  • adding a live chat function to interact with customers in real time;
  • conducting surveys to collect user preference data;
  • launching a call-to-action widget that uses pop-ups or other techniques to attract customers' attention and invite them to sign up for a free newsletter or watch a video.

Find out how the world is shifting to an assembly culture with bigger widgets.

This was last updated in November 2022

Continue Reading About widget

  • network management system

    A network management system, or NMS, is an application or set of applications that lets network engineers manage a network's ...

  • host (in computing)

    A host is a computer or other device that communicates with other hosts on a network.

  • Network as a Service (NaaS)

    Network as a service, or NaaS, is a business model for delivering enterprise WAN services virtually on a subscription basis.

  • WebAuthn API

    The Web Authentication API (WebAuthn API) is a credential management application program interface (API) that lets web ...

  • Common Vulnerability Scoring System (CVSS)

    The Common Vulnerability Scoring System (CVSS) is a public framework for rating the severity of security vulnerabilities in ...

  • Dridex malware

    Dridex is a form of malware that targets victims' banking information, with the main goal of stealing online account credentials ...

  • audit program (audit plan)

    An audit program, also called an audit plan, is an action plan that documents what procedures an auditor will follow to validate ...

  • blockchain decentralization

    Decentralization is the distribution of functions, control and information instead of being centralized in a single entity.

  • outsourcing

    Outsourcing is a business practice in which a company hires a third party to perform tasks, handle operations or provide services...

  • team collaboration

    Team collaboration is a communication and project management approach that emphasizes teamwork, innovative thinking and equal ...

  • employee self-service (ESS)

    Employee self-service (ESS) is a widely used human resources technology that enables employees to perform many job-related ...

  • learning experience platform (LXP)

    A learning experience platform (LXP) is an AI-driven peer learning experience platform delivered using software as a service (...

Customer Experience
  • market segmentation

    Market segmentation is a marketing strategy that uses well-defined criteria to divide a brand's total addressable market share ...

  • sales pipeline

    A sales pipeline is a visual representation of sales prospects and where they are in the purchasing process.

  • market basket analysis

    Market basket analysis is a data mining technique used by retailers to increase sales by better understanding customer purchasing...