Pros and cons
What Headless UI does especially well — and the limits to anticipate.
Pros
- By the Tailwind team — perfect integration
- Accessible (WAI-ARIA) by default
- React and Vue compatible
- Lightweight and style-opinionless
Cons
- Fewer components than Radix Primitives
- Requires Tailwind for optimal use
- shadcn UI often covers the same needs
Headless UI: when it makes sense.
Utile en complément de shadcn UI pour des composants non couverts.
Keep if
Tu utilises Tailwind et veux des primitives accessibles. shadcn UI ne couvre pas le composant dont tu as besoin
Challenge if
Tu veux des composants déjà stylisés (shadcn UI). Tu n'utilises pas Tailwind
