Components
Adoption
How the Nexub apps use the design system, from the 12.7 usage scan: one scorecard per app, the admin-ui stopgaps that are still imported, and the workarounds that feed the 13.x plan.
Scanned on 2026-11-28 against 12.5.0, the latest release then. Sources: nexub-platform at 67454b8 (main), nexub-website-v2 at 266b1a1 (development). Only counts and component and prop names are published here.
Scorecard
| App | Grade | Nexub version | Components (direct / with admin-ui) | Overrides | Copies | Deprecated APIs | Stopgaps left |
|---|---|---|---|---|---|---|---|
| audit-hub | B · 78 | 12.2.0 (3 minors behind) | 22 / 38 | 7 (3.1 per 100 uses) | 0 | 0 | 2 |
| auth | C · 66 | 12.2.0 (3 minors behind) | 32 / 49 | 13 (6.8 per 100 uses) | 1 | 0 | 5 |
| book-hub | C · 66 | 12.2.0 (3 minors behind) | 29 / 54 | 23 (2.8 per 100 uses) | 0 | 0 | 8 |
| go | C · 63 | 12.2.0 (3 minors behind) | 37 / 54 | 21 (11.8 per 100 uses) | 0 | 0 | 5 |
| crm | C · 62 | 12.2.0 (3 minors behind) | 35 / 64 | 10 (3.3 per 100 uses) | 0 | 0 | 10 |
| mind | C · 62 | 12.2.0 (3 minors behind) | 48 / 67 | 47 (9 per 100 uses) | 0 | 0 | 7 |
| contracts | C · 61 | 12.2.0 (3 minors behind) | 35 / 64 | 27 (5.9 per 100 uses) | 0 | 0 | 9 |
| forms | C · 60 | 12.2.0 (3 minors behind) | 40 / 60 | 38 (10.7 per 100 uses) | 0 | 0 | 7 |
| payhub | C · 60 | 12.2.0 (3 minors behind) | 42 / 66 | 56 (6.5 per 100 uses) | 0 | 0 | 9 |
| super-admin | C · 59 | 12.2.0 (3 minors behind) | 51 / 74 | 36 (4.1 per 100 uses) | 1 | 0 | 11 |
| founder-hub | C · 58 | 12.2.0 (3 minors behind) | 32 / 60 | 37 (9.3 per 100 uses) | 0 | 0 | 9 |
| commerce | C · 57 | 12.2.0 (3 minors behind) | 29 / 57 | 42 (7.6 per 100 uses) | 0 | 0 | 10 |
| command-hub | C · 56 | 12.2.0 (3 minors behind) | 59 / 71 | 104 (10.7 per 100 uses) | 3 | 0 | 6 |
| partnerhub | C · 55 | 12.2.0 (3 minors behind) | 26 / 57 | 66 (10 per 100 uses) | 1 | 0 | 9 |
| admin | D · 54 | 12.2.0 (3 minors behind) | 41 / 68 | 80 (12.8 per 100 uses) | 0 | 0 | 9 |
| people | D · 53 | 12.2.0 (3 minors behind) | 45 / 74 | 44 (8.1 per 100 uses) | 3 | 0 | 9 |
| leap | D · 50 | 12.2.0 (3 minors behind) | 45 / 73 | 97 (13 per 100 uses) | 2 | 0 | 9 |
| website | D · 15 | 10.2.0 (major 2 behind) | 21 / 21 | 179 (25.8 per 100 uses) | 26 | 1 | 0 |
Not scored: desktop (Uses @nexub/brand only (icons and assets), no components). matchub is pre-production and not scanned.
How the grade works
Each app starts at 100 points and loses points for each of these, up to the cap shown:
| Measure | Points off | Cap |
|---|---|---|
| Nexub version behind the latest | 5 per minor; 25 per major | 20 for minors; 40 for majors |
| Deprecated or removed APIs in use | 5 each | 20 |
| Copies of Nexub parts | 2 each | 20 |
| Overrides per 100 component uses | 1 per override per 100 uses | 20 |
| admin-ui stopgaps still imported | 2 per stopgap | 20 |
Grade A from 85, B from 70, C from 55, D below 55. The number of components an app uses is shown but not graded: using more parts is not better by itself.
@nexub/admin-ui wrappers (read from that package's source). Overrides: a className that restyles a Nexub component (padding, colour, border, radius, type; classes that only place it, such as margin, width or flex, are left out), a style prop on one, CSS or Tailwind that targets .nx-* classes, and app code that redefines a Nexub custom property. Copies (a heuristic): a local component with the name of a Nexub component that draws its own markup, or one that sets an ARIA role a Nexub part owns, such as role="dialog". Deprecated APIs: what the nexub-migrate rules for removed and deprecated APIs find. Test and story files are not counted.admin-ui tracker
The @nexub/admin-ui stopgaps that an 11.x minor made redundant, and the apps that still import each one. Most now render their Nexub replacement, so moving an app over is an import change plus a few prop renames.
| Stopgap | Replaced by | Since | In admin-ui today | Imports | Apps still using it |
|---|---|---|---|---|---|
NumberField | NumberInput (value: number | null) | 11.1.0 | Wraps FormField, NumberInput | 73 | 13: admin, book-hub, commerce, contracts, crm, forms, founder-hub, go, leap, partnerhub, payhub, people, super-admin |
FileField | FileUpload.Trigger, controlled files | 11.1.0 | Wraps FileUpload, FormField | 26 | 12: admin, auth, book-hub, commerce, contracts, crm, go, leap, partnerhub, payhub, people, super-admin |
ComboboxField | ComboboxField | 11.1.0 | Wraps ComboboxField | 47 | 13: admin, auth, book-hub, command-hub, commerce, contracts, crm, forms, founder-hub, leap, payhub, people, super-admin |
ComboboxPicker | ComboboxPicker | 11.1.0 | Wraps ComboboxPicker | 15 | 8: admin, book-hub, command-hub, leap, mind, payhub, people, super-admin |
PickField | ComboboxField | 11.1.0 | Wraps ComboboxField, FormField, Select | 85 | 13: admin, auth, command-hub, commerce, contracts, crm, forms, go, leap, mind, payhub, people, super-admin |
SwitchField | SwitchField | 11.1.0 | Wraps SwitchField | 32 | 12: admin, book-hub, command-hub, commerce, contracts, crm, forms, founder-hub, go, leap, partnerhub, super-admin |
CheckboxField | CheckboxField | 11.1.0 | Wraps CheckboxField | 78 | 13: auth, book-hub, command-hub, commerce, contracts, crm, founder-hub, leap, mind, partnerhub, payhub, people, super-admin |
CheckboxGroupField | CheckboxGroupField | 11.1.0 | Wraps CheckboxGroupField | 2 | 2: founder-hub, partnerhub |
MonthField | DatePicker granularity="month" | 11.1.0 | Wraps DatePicker, FormField | 11 | 4: founder-hub, payhub, people, super-admin |
<input type="month"> | DatePicker granularity="month" | 11.1.0 | App code | 0 | None |
CurrencyField | CurrencyField / CurrencySelect | 11.2.0 | Wraps CurrencyField | 22 | 7: commerce, contracts, crm, forms, founder-hub, partnerhub, super-admin |
CURRENCY_OPTIONS | currencyOptions(locale) | 11.2.0 | Own code | 2 | 1: commerce |
askText | usePrompt() / AlertDialog.Prompt | 11.2.0 | Own code | 41 | 12: audit-hub, book-hub, contracts, crm, founder-hub, go, leap, mind, partnerhub, payhub, people, super-admin |
window.prompt | usePrompt() / AlertDialog.Prompt | 11.2.0 | App code | 0 | None |
SearchField | Autocomplete (label, clearOnSelect) | 11.2.0 | Wraps Autocomplete, FormField | 13 | 6: admin, auth, commerce, crm, mind, partnerhub |
Metric | StatCard (size, note, tone="bad-when-high") | 11.3.0 | Wraps StatCard | 50 | 15: admin, audit-hub, book-hub, command-hub, commerce, contracts, crm, forms, founder-hub, leap, mind, partnerhub, payhub, people, super-admin |
UsageMetric | UsageTile | 11.3.0 | Wraps UsageTile | 3 | 3: admin, forms, mind |
Findings for 13.x
The workarounds the scan found most often. The first table is work a codemod can do today, because a Nexub prop or part already covers it. The second needs a design-system change first.
Codemod candidates
| Fix | Uses | Apps |
|---|---|---|
| Text weight="…" in place of font-* classes | 154 | 13 |
| CheckboxField from Nexub in place of admin-ui's CheckboxField (now a thin wrapper of it) | 78 | 13 |
| Text truncate in place of the truncate class | 57 | 10 |
| StatCard from Nexub in place of admin-ui's Metric (now a thin wrapper of it) | 50 | 15 |
| ComboboxField from Nexub in place of admin-ui's ComboboxField (now a thin wrapper of it) | 47 | 13 |
| askText -> usePrompt() / AlertDialog.Prompt | 41 | 12 |
| SwitchField from Nexub in place of admin-ui's SwitchField (now a thin wrapper of it) | 32 | 12 |
| Button fullWidth in place of w-full | 23 | 5 |
Repeated workarounds with no prop yet
| Workaround | Uses | Apps |
|---|---|---|
| Card padding set by class (no padding prop) | 508 | 18 |
| EmptyState.Root padding set by class | 24 | 8 |
| Table.Cell end-aligned by class (no align prop) | 20 | 4 |
| Sheet.Title hidden with sr-only (no visually hidden option) | 18 | 15 |
| AppShell.Root top offset for the app header, set by class | 17 | 16 |
Most restyled components
| Component | Restyling classNames | Apps |
|---|---|---|
| Card | 458 | 18 |
| Text | 225 | 17 |
| Tabs.Content | 33 | 5 |
| EmptyState.Root | 24 | 8 |
| Button | 20 | 4 |
| Table.Cell | 19 | 6 |
| AppShell.Main | 17 | 16 |
| AppShell.Root | 17 | 16 |
| Container | 9 | 1 |
| Code | 6 | 3 |
Copies of Nexub parts
| Part | Copies | Apps |
|---|---|---|
| StatCard | 6 | 1 |
| OrgChart | 4 | 3 |
| Badge | 3 | 2 |
| Card | 3 | 3 |
| Progress | 3 | 3 |
| RadioGroup | 3 | 1 |
| Avatar | 2 | 1 |
| Dialog | 2 | 2 |
| ApprovalCard | 1 | 1 |
| Chip | 1 | 1 |
Native elements that have a Nexub part (not graded: a plain <button> is often right): button 149, table 23, select 12, input[type=checkbox] 8, input[type=radio] 6, input[type=file] 3, textarea 2, input[type=date] 1.
Scan your own app
The same scan ships in @nexub/tokens. Pass each app folder; --wrapper names a workspace package that wraps Nexub parts, so its users count as indirect users.
npx -p @nexub/tokens nexub-usage --apps apps/web apps/admin --wrapper packages/ui
npx -p @nexub/tokens nexub-usage --apps apps/web --json # components, props, overrides, copies, deprecated APIs