Radix UI
An open-source library of unstyled, accessible React primitives such as Dialog, Tabs and Popover.
In more detail
Radix popularised the asChild pattern and its Slot component for polymorphism without wrapper elements. Many design systems, including shadcn/ui, are built on it.
Related terms
- headless component — A component that provides behaviour, state and accessibility but no styling, leaving the look entirely to the consumer.
- asChild — A prop that tells a component to render its single child element instead of its own, merging its classes, props and behaviour onto that child.
- slot — A place in a component's layout that the consumer fills with their own content, either through a named prop such as icon or through a Slot component.
- React Aria — Adobe's library of React hooks and components that provide accessible behaviour and keyboard interactions without styles.
Taught in
- Headless Architecture: State vs Presentation Separation — Design Systems & Component Engineering
- Polymorphism & Slotted Composition: The asChild Pattern — Design Systems & Component Engineering
- Slot Patterns And Headless UI Architecture in React — React 19 & Modern Component Architecture