Skip to content

Reference ​

Every name each entry point exports, read from its source. Anything not listed is internal and may change in any release. The component pages explain each name; the tables link to them.

Entry pointImport it in
@adecore/uiThe page.
@adecore/ui/settingsThe page, for a settings window.
@adecore/ui/formatThe page, and any code that writes a number or date a person reads.
@adecore/ui/testingTests only.
@adecore/ui/testing/dedupeThe preload of bun test, in an app that links a checkout. It exports nothing; see Testing.
@adecore/ui/theme.cssThe app's CSS, after Tailwind. See Theme.

Exports ​

@adecore/ui ​

The components, hooks and helpers.

NameKindSource
ComboboxInputPropstypecombobox/parts
ComboboxItemPropstypecombobox/parts
ComboboxPopupPropstypecombobox/parts
CommandPaletteFooterPropstypecommand-palette/parts
CommandPaletteInputPropstypecommand-palette/parts
CommandPalettePopupPropstypecommand-palette/parts
CommandPaletteRootPropstypecommand-palette/parts
DialogDescriptionPropstypedialog/parts
DialogFooterPropstypedialog/parts
DialogPopupPropstypedialog/parts
DialogTextPropstypedialog/parts
DialogTitlePropstypedialog/parts
MenuCheckPropstypemenu/parts
MenuHintPropstypemenu/parts
MenuLabelPropstypemenu/parts
MenuPopupPropstypemenu/parts
MenuRowActionPropstypemenu/parts
MenuRowPropstypemenu/parts
MenuRowSubmenuTriggerPropstypemenu/parts
KeyValueListItemPropstypekey-value-list/parts
KeyValueListNamePropstypekey-value-list/parts
KeyValueListRootPropstypekey-value-list/parts
KeyValueListValuePropstypekey-value-list/parts
PopoverPopupPropstypepopover/parts
PopupVarianttypepopover/parts
PreviewCardPopupPropstypepopover/parts
TabsCountPropstypetabs/parts
TabsListPropstypetabs/parts
TabsRootPropstypetabs/parts
TabsTabPropstypetabs/parts
TabsValuetypetabs/parts
TabsVarianttypetabs/parts
tabDropIndexfunctiontabs/use-tab-drag
useTabDraghooktabs/use-tab-drag
TabDragtypetabs/use-tab-drag
TabDragOptionstypetabs/use-tab-drag
AccentSwatchescomponentAccentSwatches
AccentSwatchesPropstypeAccentSwatches
BannercomponentBanner
BannerPropstypeBanner
BannerTonetypeBanner
ButtoncomponentButton
ButtonPropstypeButton
ButtonShapetypeButton
ButtonSizetypeButton
ButtonVarianttypeButton
ButtonGroupcomponentButtonGroup
ButtonGroupPropstypeButtonGroup
CheckboxcomponentCheckbox
CheckboxPropstypeCheckbox
ChoiceCardscomponentChoiceCards
ChoicetypeChoiceCards
ChoiceCardsPropstypeChoiceCards
CloseButtoncomponentCloseButton
CloseButtonPropstypeCloseButton
ColorSwatchcomponentColorSwatch
ColorSwatchPropstypeColorSwatch
CopyButtoncomponentCopyButton
CopyButtonPropstypeCopyButton
ColorWheelPickercomponentColorWheelPicker
ColorWheelPickerPropstypeColorWheelPicker
ColumnResizeHandlecomponentColumnResizeHandle
ColumnResizeHandlePropstypeColumnResizeHandle
DisabledReasoncomponentDisabledReason
DisabledReasonPropstypeDisabledReason
DockShellcomponentDockShell
DockShellPropstypeDockShell
EmptyStatecomponentEmptyState
EmptyStatePropstypeEmptyState
ErrorBoundaryclassErrorBoundary
ErrorBoundaryPropstypeErrorBoundary
FieldcomponentField
FieldHintcomponentField
FormErrorcomponentField
FieldHintPropstypeField
FieldPropstypeField
FormErrorPropstypeField
FileIconcomponentFileIcon
FileIconPropstypeFileIcon
IconcomponentIcon
IconPropstypeIcon
IconButtoncomponentIconButton
IconButtonPropstypeIconButton
IconButtonSizetypeIconButton
IconPickercomponentIconPicker
IconPickerGrouptypeIconPicker
IconPickerPropstypeIconPicker
InputcomponentInput
TextAreacomponentInput
InputPropstypeInput
TextAreaPropstypeInput
KbdcomponentKbd
KeyCapcomponentKbd
KeyscomponentKbd
KbdPropstypeKbd
KeyCapPropstypeKbd
KeysPropstypeKbd
ListRowcomponentListRow
ListRowPropstypeListRow
MetercomponentMeter
MeterPropstypeMeter
MiddleTruncatecomponentMiddleTruncate
MiddleTruncatePropstypeMiddleTruncate
PanelEmptycomponentPanelEmpty
PanelEmptyPropstypePanelEmpty
PanelHeadercomponentPanelHeader
PanelHeaderPropstypePanelHeader
PillcomponentPill
PillPropstypePill
PromptDialogcomponentPromptDialog
PromptDialogPropstypePromptDialog
RelativeTimecomponentRelativeTime
RelativeTimePropstypeRelativeTime
ProjectSwitchercomponentProjectSwitcher
ProjectSwitcherGroupscomponentProjectSwitcher
ProjectSwitcherItemtypeProjectSwitcher
ProjectSwitcherPropstypeProjectSwitcher
ScrollAreacomponentScrollArea
ScrollAreaPropstypeScrollArea
SectionLabelcomponentSectionLabel
SectionLabelPropstypeSectionLabel
SegmentBarcomponentSegmentBar
SegmentBarParttypeSegmentBar
SegmentBarPropstypeSegmentBar
SegmentedcomponentSegmented
SegmentedOptiontypeSegmented
SegmentedPropstypeSegmented
SelectcomponentSelect
SelectGrouptypeSelect
SelectItemtypeSelect
SelectPropstypeSelect
SeparatorcomponentSeparator
SeparatorPropstypeSeparator
ShortcutHintscomponentShortcutHints
SkeletoncomponentSkeleton
SkeletonPropstypeSkeleton
SlidercomponentSlider
SliderPropstypeSlider
SlidingColumncomponentSlidingColumn
SlidingColumnPropstypeSlidingColumn
SpinnercomponentSpinner
SpinnerPropstypeSpinner
SplitButtoncomponentSplitButton
SplitButtonPropstypeSplitButton
SteppercomponentStepper
StepperPropstypeStepper
SurfacecomponentSurface
SurfacePropstypeSurface
SwitchcomponentSwitch
SwitchPropstypeSwitch
TextMenucomponentTextMenu
TextMenuPropstypeTextMenu
TilecomponentTile
TilePropstypeTile
ToastscomponentToasts
ToastsPropstypeToasts
TooltipcomponentTooltip
TooltipPropstypeTooltip
TooltipSidetypeTooltip
UIProvidercomponentUIProvider
UIProviderPropstypeUIProvider
WaveformcomponentWaveform
WaveformPropstypeWaveform
WipecomponentWipe
WipePropstypeWipe
ZoomControlscomponentZoomControls
ZoomControlsPropstypeZoomControls
ZoomLabelstypeZoomControls
ZoomSelectiontypeZoomControls
copyTextfunctionclipboard
readClipboardTextfunctionclipboard
messageOffunctionerror-message
ResetKeystypeerror-boundary
FILE_TREE_ICONSconstfile-icon
setFileIconOverridefunctionfile-icon
cameThroughPortalfunctionfloating
isInFloatingLayerfunctionfloating
LoadedComponentclasslazy
lazyDialogfunctionlazy
lazyNamedfunctionlazy
onLazyOpenErrorfunctionlazy
LazyComponenttypelazy
LazyBoundarycomponentLazyBoundary
LazyBoundaryPropstypeLazyBoundary
UI_NAMESPACEconstlocales
UI_RESOURCESconstlocales
matchScorefunctionmatch
isApplePlatformfunctionplatform
prefetcherconstprefetch
Loadertypeprefetch
WhenIdletypeprefetch
tintStylefunctiontint
selectAllWithinfunctionselection
selectionWithinfunctionselection
EDIT_SHORTCUTSconstshortcut
KEY_SHORTCUTSconstshortcut
formatShortcutfunctionshortcut
isModHeldfunctionshortcut
matchesShortcutfunctionshortcut
shortcutfunctionshortcut
shortcutPartsfunctionshortcut
KeyLiketypeshortcut
Shortcuttypeshortcut
UNDO_MSconsttoast-store
createToastStoreconsttoast-store
Toasttypetoast-store
ToastActiontypetoast-store
ToastDeadlinetypetoast-store
ToastInputtypetoast-store
ToastKindtypetoast-store
ToastPatchtypetoast-store
ToastStoretypetoast-store
ToastStoreHooktypetoast-store
useAsyncActionhookuseAsyncAction
AsyncActiontypeuseAsyncAction
clampColumnSizefunctionuseColumnResize
useColumnResizehookuseColumnResize
ColumnEdgetypeuseColumnResize
ColumnResizetypeuseColumnResize
ColumnResizeOptionstypeuseColumnResize
useContentSizehookuseContentSize
ContentSizetypeuseContentSize
useMeasuredWidthhookuseMeasuredWidth
useNowhookuseNow
useTickingTexthookuseNow
useOverlayScrollbarshookuseOverlayScrollbars
OverlayScrollbarsOptionstypeuseOverlayScrollbars
ScrollAreaAxistypeuseOverlayScrollbars
useFileTreehookfile-tree/use-file-tree
FileTreeOptionstypefile-tree/use-file-tree
FileTreeRootPropstypefile-tree/parts
FileTreeModeltypeindex
FileTreeVisibleRowtypeindex
FileTreeDragAndDropConfigtypeindex
FileTreeDropContexttypeindex
FileTreeDropResulttypeindex
FoldKeyOftypefile-tree/helpers
SortRowtypefile-tree/helpers
TreeRootPropstypetree/parts
TreeRowPropstypetree/parts
TreeChevronPropstypetree/parts
TreeChevronSlotPropstypetree/parts
TreeLabelPropstypetree/parts
TreeDecorationPropstypetree/parts
TreeControlPropstypetree/parts
TreeCheckboxPropstypetree/parts
Workspacecomponentworkspace/Workspace
WorkspacePropstypeworkspace/Workspace
WorkspaceRailcomponentworkspace/WorkspaceRail
WorkspaceRailSeparatorcomponentworkspace/WorkspaceRail
WorkspaceRailSpacercomponentworkspace/WorkspaceRail
WorkspaceRailPropstypeworkspace/WorkspaceRail
WorkspaceTopRowcomponentworkspace/WorkspaceTopRow
WorkspaceTopRowPropstypeworkspace/WorkspaceTopRow
useTopRowSlothookworkspace/top-row-slot
PaneBarcomponentworkspace/PaneBar
PaneBarPropstypeworkspace/PaneBar
WorkspaceLayouttypeworkspace/context
DocumentTabcomponentworkspace/TabStrip
TabStripcomponentworkspace/TabStrip
DocumentTabPropstypeworkspace/TabStrip
TabStripPropstypeworkspace/TabStrip
TabStripItemtypeworkspace/TabStrip
SplitViewcomponentworkspace/SplitView
SplitViewPropstypeworkspace/SplitView
SplitViewInfotypeworkspace/SplitView
SplitViewBoundstypeworkspace/SplitView
SplitDropTargettypeworkspace/SplitView
SplitDragtypeworkspace/SplitView
DropPreviewcomponentworkspace/DropPreview
DropPreviewPropstypeworkspace/DropPreview
rectDropPreviewfunctionworkspace/preview
sameDropPreviewfunctionworkspace/preview
tabDropPreviewfunctionworkspace/preview
DropPreviewShapetypeworkspace/preview
TabDroptypeworkspace/preview
createSplitLayoutfunctionworkspace/model
updateSplitLayoutfunctionworkspace/model
splitPanesfunctionworkspace/model
SplitAxistypeworkspace/model
SplitSidetypeworkspace/model
SplitPanetypeworkspace/model
SplitBranchtypeworkspace/model
SplitNodetypeworkspace/model
SplitLayouttypeworkspace/model
SplitCommandtypeworkspace/model
tabGapAtfunctionworkspace/geometry
SplitRecttypeworkspace/geometry
SplitEdgestypeworkspace/geometry
SplitMinimumtypeworkspace/geometry
CommandPaletteVirtualListPropstypecommand-palette/virtual
CommandPaletteVirtualItemPropstypecommand-palette/virtual
Comboboxnamespacecombobox/index.parts
CommandPalettenamespacecommand-palette/index.parts
ContextMenunamespacecontext-menu/index.parts
FileTreenamespacefile-tree/index.parts
Treenamespacetree/index.parts
Dialognamespacedialog/index.parts
KeyValueListnamespacekey-value-list/index.parts
Menunamespacemenu/index.parts
Popovernamespacepopover/index.parts
PreviewCardnamespacepreview-card/index.parts
Tabsnamespacetabs/index.parts

@adecore/ui/settings ​

The settings dialog and the parts a pane is built from.

NameKindSource
ConfirmDialogcomponentsettings/ConfirmDialog
ConfirmDialogPropstypesettings/ConfirmDialog
DetailHeadercomponentsettings/DetailHeader
DetailHeaderPropstypesettings/DetailHeader
MasterDetailcomponentsettings/MasterDetail
MasterItemcomponentsettings/MasterDetail
MasterDetailPropstypesettings/MasterDetail
MasterItemPropstypesettings/MasterDetail
SettingsDialogcomponentsettings/SettingsDialog
SettingsDialogPropstypesettings/SettingsDialog
SettingsGroupEntrytypesettings/SettingsDialog
SettingsSearchtypesettings/SettingsDialog
SettingsSearchResulttypesettings/SettingsDialog
SettingsSectionEntrytypesettings/SettingsDialog
SettingsRowcomponentsettings/SettingsRow
TopIconcomponentsettings/SettingsRow
SettingsRowPropstypesettings/SettingsRow
TopIconPropstypesettings/SettingsRow
SettingsSectioncomponentsettings/SettingsSection
SettingsSectionPropstypesettings/SettingsSection
useSettingsTargethooksettings/target

@adecore/ui/format ​

The formatters for numbers, dates and durations, and the format source they read.

NameKindSource
formatAgefunctionformat/datetime
formatClockfunctionformat/datetime
formatDateTimefunctionformat/datetime
formatDayfunctionformat/datetime
formatDayClockfunctionformat/datetime
formatDayClockWithYearfunctionformat/datetime
formatDayWithYearfunctionformat/datetime
formatHourfunctionformat/datetime
formatMomentfunctionformat/datetime
formatNumericDatefunctionformat/datetime
formatWeekdayfunctionformat/datetime
formatWeekdayClockfunctionformat/datetime
formatWeekdayDayfunctionformat/datetime
isSameDayfunctionformat/datetime
formatAgofunctionformat/duration
formatClockDurationfunctionformat/duration
formatCountdownfunctionformat/duration
formatDurationfunctionformat/duration
formatElapsedShortfunctionformat/duration
formatPreciseDurationfunctionformat/duration
formatLocalefunctionformat/locale
labelCollatorfunctionformat/locale
nameCollatorfunctionformat/locale
setFormatSourcefunctionformat/locale
systemLocalefunctionformat/locale
useFormatLocalehookformat/locale
FormatSourcetypeformat/locale
formatBytesfunctionformat/number
formatDecimalfunctionformat/number
formatMoneyfunctionformat/number
formatNumberfunctionformat/number
formatNumeralfunctionformat/number
formatPercentfunctionformat/number
formatRoundedfunctionformat/number
formatTokensfunctionformat/number
formatUsdSignificantfunctionformat/number
FORMAT_LANGUAGEconstformat/regions
FORMAT_REGIONSconstformat/regions
FORMAT_REGION_CHOICESconstformat/regions
FORMAT_SYSTEMconstformat/regions
formatRegionFromfunctionformat/regions
regionNamefunctionformat/regions
localTimeZonefunctionformat/time-zone

@adecore/ui/testing ​

Fakes for an app's own tests.

NameKindSource
fakeFormatSourcefunctiontesting/fake-source
FakeFormatSourcetypetesting/fake-source

Licenses and third-party notices are listed in each package.