widget

A self-contained interactive piece of an interface, such as a tab panel, date picker or accordion.

In more detail

Native HTML controls such as select and details are widgets built into the browser. Custom widgets built from divs need ARIA roles, states and keyboard handling to match what native controls give for free.

Example

The course streams a slow recommendations widget inside its own Suspense boundary and loads chat widgets with lazyOnload.

Related terms

Taught in

References