Skip to content

UIPluginComponents

UIPluginComponents = object

Defined in: packages/ui/src/types.ts:18

Map of component slot names to their styled implementations.

A UI plugin provides these components to replace the headless defaults. Each slot corresponds to a visual primitive used internally by the higher-level components (DataTableProps, ListViewProps, AppShellProps, etc.). Plugins only need to implement the slots they care about; missing slots fall back to unstyled HTML elements.

  • UIPlugin for the plugin wrapper that holds a partial map of these slots.
  • createUIPlugin for the factory function that creates a plugin.

alert: ComponentType<AlertSlotProps>

Defined in: packages/ui/src/types.ts:52

Alert message component for success/error/warning feedback.


appShell: ComponentType<AppShellSlotProps>

Defined in: packages/ui/src/types.ts:41

Application shell with sidebar and header layout.


breadcrumb: ComponentType<BreadcrumbSlotProps>

Defined in: packages/ui/src/types.ts:47

Breadcrumb navigation trail.


button: ComponentType<ButtonSlotProps>

Defined in: packages/ui/src/types.ts:21

Button component used by ActionButton and other interactive elements.


chip: ComponentType<ChipSlotProps>

Defined in: packages/ui/src/types.ts:38

Chip/badge component for status indicators.


confirmDialog: ComponentType<ConfirmDialogSlotProps>

Defined in: packages/ui/src/types.ts:25

Confirmation dialog shown before destructive actions.


dropZone: ComponentType<DropZoneSlotProps>

Defined in: packages/ui/src/types.ts:55

Drag-and-drop file upload area.


pageContainer: ComponentType<PageContainerSlotProps>

Defined in: packages/ui/src/types.ts:45

Page wrapper with title, breadcrumb, and actions.


sidebar: ComponentType<SidebarSlotProps>

Defined in: packages/ui/src/types.ts:43

Sidebar navigation panel.


table: ComponentType<TableSlotProps>

Defined in: packages/ui/src/types.ts:28

Root table element.


tableBody: ComponentType<TableSectionSlotProps>

Defined in: packages/ui/src/types.ts:32

Table body section.


tableCell: ComponentType<TableCellSlotProps>

Defined in: packages/ui/src/types.ts:36

Table cell element (th or td).


tableHead: ComponentType<TableSectionSlotProps>

Defined in: packages/ui/src/types.ts:30

Table head section.


tableRow: ComponentType<TableRowSlotProps>

Defined in: packages/ui/src/types.ts:34

Table row element.


toast: ComponentType<ToastSlotProps>

Defined in: packages/ui/src/types.ts:50

Toast notification container.


tooltip: ComponentType<TooltipSlotProps>

Defined in: packages/ui/src/types.ts:23

Tooltip wrapper for hover hints.