Headless primitive adapter: the single entry point every ai2 component imports its unstyled behaviour from. Components never import the primitive library directly, so the provider is swapped in one file instead of thirty. Re-exports the twenty-four Radix UI namespaces the system uses (Dialog, Popover, Select, Tabs, Tooltip, Menu, and the rest). Components with no cross-library equivalent, such as Command, Toast, Drawer, Calendar, OTP input, Carousel and Resizable, keep their own dependency on purpose.
pnpm dlx shadcn@latest add "https://ai2.design/r/primitives.json"