React · Senior · Question 44 of 75

What are headless UI components, and why are they chosen for design systems?

Explanation

Radix UI, Headless UI and React Aria implement behavior, keyboard handling, focus and ARIA for complex widgets (dialogs, comboboxes, menus), while styling is up to you (Tailwind, CSS Modules). shadcn/ui, for example, is built on this. Writing such widgets from scratch is expensive and risky.

Further reading

Problem with a question

React · Senior · question 44

Test yourself

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

Take this quiz