Design Patterns · Middle · Question 41 of 75

What is a headless component in terms of patterns?

Explanation

A hook or component provides state and handlers (useCombobox, Radix primitives), while the app controls markup and styles. It's separation of concerns and OCP: the look changes without changing the logic.

Further reading

Problem with a question

Design Patterns · Middle · question 41

Test yourself

Take the Design Patterns · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz