Design System

Components

55 components in @major/ui. Each page has two halves: Usage (examples and the rules for using it) and API (import, props, accessibility).

Primitives

No product meaning, composed from parts like shadcn/ui: Dialog + DialogContent + DialogTitle, Field + FieldLabel + Input. Build every screen from these.

Composed

Built from primitives for one recurring Major need: the page header, the data table, the agent's trace. Use them instead of rebuilding the same thing.

Specified, not yet in the package

These are in the Major design system but are product-specific. They'll move into @major/ui when a second product needs them; until then build them in the product from the spec in reference/major-ds.
AccessPickerInputsWho can use something, set right in a table row.
PlanCardDataA plan in Plans & Billing.
ManagedServiceCardListsA service Major runs for you, above the connectors table.
PublishDialogOverlaysPublishing an app: version, address, progress, live.
WhatsNewOverlaysThe two-pane release-notes dialog.
CanvasStepEditorA step on the workflow canvas.
DiffViewEditorWhat changed in a version, per file.
FileTreeEditorA folder tree or a version list.
QuestionsChatMajor asks two or three questions before building.
PepperCard / PepperBubblePepperPepper's page cards and speech bubble.
BoxFieldBrandThe animated background behind the Login card.