Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds accessible, composable UI with @base-ui/react unstyled primitives and project styling tokens for overlays, menus, and forms.
82% 100%+18 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 18 of 22 without it.
What dependency check should be performed on package.json before adding new Base UI primitive wrappers to a repository?
Verifies the presence of @base-ui/react in package.json
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Name: base-ui
Purpose: Build accessible, composable UI with @base-ui/react primitives and project styling tokens.
Use this when creating or refining unstyled primitive components and behavior-heavy UI.
Applies when: Building overlays, menus, form controls, or custom component APIs with Base UI.
Do not use when: You are using copied-in shadcn components as the primary implementation path (use moai-library-shadcn first).
className/style, render, refs, and cancelable events. Use packages/ui/lib/base-ui.ts to merge a Base UI class callback after receiving state; ordinary cn/CVA calls do not evaluate it.packages/ui/components/primitives/tanstack-form.tsx. Group labels name a group; they are not labels for Select/Combobox controls.packages/ui (components/shadcn or components/primitives), not in an app. Check for an existing @asym/ui component before adding one.packages/ui/package.json for the installed @base-ui/react version and open the exact docs page from reference-links.md for the primitive you need.cn, semantic tokens, Tailwind v4).Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.