1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. ai2
  3. Primitives (Base UI)

Primitives (Base UI)

lib

The second provider behind the ai2 primitive adapter: the same surface as @ai2/primitives, bound to Base UI instead of Radix. A pro block imports the adapter, not the library, so the same block source runs on either one. Anatomy differences are absorbed here (Base UI wraps the slider track in a Control part and calls the filled part Indicator, and it renders a native range input inside the thumb, so focus styling is mirrored from focus-visible to focus-within). Primitives with no Base UI counterpart are deliberately left out rather than silently falling back to Radix.

pnpm dlx shadcn@latest add "https://ai2.design/r/primitives-base.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • @base-ui/react@^1.6.0
    lib/primitives-base.ts