primitive

A small, general-purpose building block, such as a button, input or dialog, that product components are assembled from.

In more detail

In this course a primitive handles behaviour and accessibility (keyboard support, ARIA attributes, focus) and knows nothing about any particular product. Unstyled or headless primitives leave all styling to the consumer. Higher layers combine primitives into bigger components and page templates.

Related terms

Taught in

References